Page 1 of 1

Write a Java program that prompts the user to enter a time in seconds and outputs the entered time as days, hours, minut

Posted: Tue Jul 12, 2022 8:05 am
by answerhappygod
Write A Java Program That Prompts The User To Enter A Time In Seconds And Outputs The Entered Time As Days Hours Minut 1
Write A Java Program That Prompts The User To Enter A Time In Seconds And Outputs The Entered Time As Days Hours Minut 1 (64.12 KiB) Viewed 52 times
Write a Java program that prompts the user to enter a time in seconds and outputs the entered time as days, hours, minutes and seconds. A run of the program should look like this: Enter time in seconds: 100000 100000 seconds is: 1 days 3 hours 46 minutes 40 seconds Where the computer typed the text in blue, and the user typed the text in red. All the quantities should be int (or long int for the initial time input).