Question: Problem with my C++ code. The code should display for midnight 00:00:00 but instead it displays 0:00:00 I don't know how to fix it. Thanks.

Problem with my C++ code. The code should display for midnight 00:00:00 but instead it displays 0:00:00 I don't know how to fix it. Thanks.

Problem with my C++ code. The code should display for midnight 00:00:00

Steps for the assignment:

https://docs.google.com/document/d/1RNP9ATq7MKM47oiI0Lnrua0r7lxZvJBz3FiQffjSS4U/edit?usp=sharing

Code:

https://drive.google.com/file/d/0B8jPGepnXF2cWjd3TG5IZTJWMzA/view?usp=sharing

noon is 12:00:00 midnight is 0:00:00 lunch time is 11:30:06 supper time is 18:45:00 bed time is 23:59:59 From lunch time to bed time is 44999 seconds. From supper time to noon is -24300 seconds From midnight to bed time is 86399 seconds supper time is after noon lunch time is not after supper time bed time is before midnight Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!