3.6. (Part 1) Time Calculator - Java

Publié le: 04 juillet 2016
sur la chaîne: Kakra Detome
10,938
61

Hello Everyone, hope you're all doing well. I remade this program in a different way because although this program works, parts of it is unnecessary. Also, it will serve as another method. I've explained why parts of this program is unnecessary although it works, in the new video posted below :) Take care and please let me know if you have questions :)

Other Java Programs - Method 2 - 3.6. (Part 1) Time Calculator - Java,    • (Method 2) - 3.6. (Part 1) Time Calcu...  
Other Java Programs - Method 2 - 3.6. (Part 2) Time Calculator - Java ,    • (Method 2) - 3.6. (Part 2) Time Calcu...  
-----------------------------------------------------------------------------------------------------
Starting out with Java: From control structures through objects
Chapter 3
Programming Challenges
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
6. Time Calculator

Write a program that asks the user to enter a number of seconds.

• There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes in that many seconds.

• There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours in that many seconds.

• There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days in that many seconds.

Gaddis, Tony (2015-05-29). Starting Out with Java: From Control Structures through Objects (Page 185 & 186). Pearson Education.
Kindle Edition.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bitcoin Address - 1AbnaHDLG3xqmycNHKDKh1gPNst29Rkp6S

Thanks :)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------


Sur cette page du site, vous pouvez voir la vidéo en ligne 3.6. (Part 1) Time Calculator - Java durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Kakra Detome 04 juillet 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 10,938 fois et il a aimé 61 téléspectateurs. Bon visionnage!