PhantomJellybean / thinkjavasolutions

Automatically exported from code.google.com/p/thinkjavasolutions
0 stars 0 forks source link

Question for /trunk/chap02/Exercise02.java #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I think "seconds remaining" should be
seconds_remaining = 24 * 3600 - seconds_since_midnight;       rather than 
seconds_remaining = (24 - hour) * 3600 + (60 - minute) * 60 + (60 - second);

Original issue reported on code.google.com by fan...@gmail.com on 6 Feb 2015 at 2:39