I am trying to get my clock program to figure out the amount of time that has passed when a user enters the time in a military format.
How would i make it so it recognizes how much time has passed if the user enters the start time and then enters an end time that is less than the start time. EX. startTime = 1400 & endTime = 1300
My output keeps reading:
New Start Time: 1600
New Ending Time: 1130
Exactly -4 hour(s) and -50 minute(s) have passed.