Skip to content

Commit 569da97

Browse files
committed
Completed solutions for chapter 2
1 parent a02193e commit 569da97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Exercise Solutions/Chapter 2/Time.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static void main(String[] args) {
1616
System.out.println("Percentage of day that has passed:");
1717
System.out.println( (secondsSinceMidnight / midnightDouble) * 100 + "%");
1818
System.out.println("Time elapsed since the start of this project");
19-
System.out.println(secondsSinceMidnight - oldTime);
19+
System.out.println((secondsSinceMidnight - oldTime) / 60 + " minutes");
2020

2121
}
2222
}

0 commit comments

Comments
 (0)