Question: Write a program that prompts the user to enter the seconds ( e . g . , 1 billion ) , and displays the number
Write a program that prompts the user to enter the seconds eg billion and displays the number of years, days, hours, minutes, and seconds. For simplicity, assume a year has days.
Here is a sample run:
Enter number of seconds eg billion
In there are:
years
days
hours
minutes
seconds
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
