I'm writing a C++ program to calculate wait times for an amusement park ride (assignment for class, we're preparing for a programming competition). I've looked through my references and online, and can't seem to find a good library to do this, so I wanted to know if anyone knew one I had missed.
I have an integer value in military time. I need to add an integer to it which is time in minutes, and it give me the resulting time in military time again.
IE: integer military time (0910) + 110 minutes = 1100
1304 + 450 minutes = 2034
Any ideas anyone?
I have an integer value in military time. I need to add an integer to it which is time in minutes, and it give me the resulting time in military time again.
IE: integer military time (0910) + 110 minutes = 1100
1304 + 450 minutes = 2034
Any ideas anyone?