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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:10, golderhadashaowtatz
Which are not examples of chronic or persistent stress? moving
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
image
Computers and Technology, 23.06.2019 11:20, 1tzM3
Http is the protocol that governs communications between web servers and web clients (i. e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
image
Computers and Technology, 23.06.2019 21:30, maddietomlinson113
Examine the list below. which factors positively affect lifetime income? check all that apply.
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 in other subjects:

Konu
Mathematics, 16.12.2021 18:20