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: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
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
Mathematics, 16.07.2021 19:40
question
Mathematics, 16.07.2021 19:40
question
English, 16.07.2021 19:50
question
Mathematics, 16.07.2021 19:50
Questions on the website: 13722363