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
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).