## V22.0002 - ASSIGNMENT 1

Write a program that computes the difference between two time readings. The times are read into the program as integers of at most 6 digits (without leading zeros):hhmmss, where hh stands for hour, mm minutes and ss seconds. The difference should be displayed in the same format. The difference can be both positive and negative. You can assume, for now, that the inputs are correct (that is, you are not going to have more than 59 seconds or more than 59 minutes).

Ex:

```    Enter first 6-digit time:  23245
Enter second 6-digit time: 32815
Time difference:           5530

Enter first 6-digit time:  123245
Enter second 6-digit time: 112955
Time difference:           -10250
```
Notes and Hints:
• The above example is for 2 separate runs.
• The best way to compute the difference is to:
1. Isolate the diferent parts of each time: hours, minutes and seconds (use the mod operator % ... hint, hint, hint).
2. Compute the time in terms of seconds (1 hour = 3600 seconds, 1 minute = 60 seconds).
3. Compute the difference in seconds.
4. Convert the above number into hours, minutes and seconds (again the mod operator %, but with a different base ... hint, hint, hint).
5. Build the new 6-digit integer.