subject

Write a program that asks the user to enter a number of seconds and then printsthe same amount of time in days, hours, minutes, and seconds. for example, 3667 seconds is equivalent to 0 days, 1 hour, 1 minute, and 7 seconds. print out the result in the format: "0 day(s), 1 hour(s), 1 minute(s), and 7 second(s)."

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print β€’ the average of the values. β€’ the smallest of the values. β€’ the largest of the values. β€’ the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
You know the right answer?
Write a program that asks the user to enter a number of seconds and then printsthe same amount of ti...
Questions
question
Mathematics, 12.08.2019 22:10