Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WS-17-18
assignment-tests
Commits
5f4807df
Commit
5f4807df
authored
Mar 12, 2018
by
Jon Amos Fehling
Browse files
add 2 extra lines
parent
b4e35c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/final_assignment/task_2/Assignment2TestBase.java
View file @
5f4807df
...
...
@@ -75,7 +75,7 @@ public class Assignment2TestBase extends TestBase {
int
sum
=
numSucceededTests
+
numFailedTests
;
double
percentage
=
(
numSucceededTests
*
100
.)
/
sum
;
System
.
out
.
printf
(
"You mastered %.2f %% of the %d tests!%n"
,
percentage
,
sum
);
System
.
out
.
printf
(
"
\n\n
You mastered %.2f %% of the %d tests!%n"
,
percentage
,
sum
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment