forked from NMSU-SDev/Programs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
320 additions
and
2,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
------------------ BUG REPORT / CHANGES FOR P3 ------------------- | ||
------------------------------------------------------------------ | ||
RacingScore1.java: | ||
|
||
Fixed errors: | ||
- overallScore method was changed to set s to the correct smallest | ||
value. Previously, the if statements set s to a larger value. | ||
|
||
|
||
Functional errors for invalid inputs: | ||
|
||
Code is not supposed to accept values at/above 50 or below 0, but | ||
still runs with no warning if these are given. | ||
|
||
------------------------------------------------------------------ | ||
RacingScore2.java: | ||
|
||
Fixed errors: | ||
- Fixed overallScore to give the correct largest values for score1 | ||
and score3 | ||
|
||
- Fixed scores being wrongly set to 99 in the case where two or more | ||
scores are equal; highest scores will now always be 2 out of 3 of the | ||
scores given. | ||
|
||
- Removed unnecessary if(args == null) case from main method |
Oops, something went wrong.