subject

Write a program which prompts the user to enter a number of seconds and then reports the number of years, days, hours, and minutes the number represents.

enter a number of seconds: 65 [enter] 65 seconds is approximately 2061 years, 49 days, 19 hours, 33 minutes and 20 seconds.

demonstrate the program using: 65, 123456789, and 987654321 (one screen shot for each)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 08:00
How can smart devices benefit businesses, organizations, and social communities in the global marketplace?
Answers: 1
You know the right answer?
Write a program which prompts the user to enter a number of seconds and then reports the number of y...
Questions
question
Chemistry, 19.11.2020 17:20
question
History, 19.11.2020 17:20
question
SAT, 19.11.2020 17:20
question
Mathematics, 19.11.2020 17:20