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, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
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
Mathematics, 11.01.2021 23:40
question
Mathematics, 11.01.2021 23:40
question
Mathematics, 11.01.2021 23:40
question
Mathematics, 11.01.2021 23:40
question
Mathematics, 11.01.2021 23:40
Questions on the website: 13722363