Question: 2. (10 points) Write a program named hw2_2. cpp that asks the user to enter the number of seconds as an integer value and

2. (10 points) Write a program named hw2_2. cpp that asks the user to enter the number of seconds as an integer value and that then displays the equivalent time in days, hours, minutes, and seconds. The follow shows a sample execution of the program. Note that the boldface number is entered by the user. Enter the number of seconds: 31600000 31600000 seconds = 365 days, 17 hours, 46 minutes, 40 seconds
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
C c... View full answer
Get step-by-step solutions from verified subject matter experts
