Hi guys...
I'm a student having a bit of trouble with my assignment.
The assignment is to make a program for a phone company to calculate call durations, costs, discounts etc...
I need the user to input call start time in 24 hour style... and end time.
In order to calculate the call I need to seperate hours from minutes... I'm sure this can be done by converting the numbers from/to string or something.
Input Call Start Time: 0800
Input Call End Time: 0815
Calculating it with these numbers would give 55 mins when the duration is actually 15 minutes.
Can anybody help?
Much appreciated