Timer Problem

Hey everyone!
Could anyone please tell the solution for the following problem?
Given the ‘current time’ and the time at which the ‘timer stops’, you need to output the ‘time left’.
Input: one line input with current time- m:ss and time at which the timer stops- m:ss.
Output: time left-m:ss

Sample input: 0:00 0:01
Sample output: 0:01

Convert the inputs in seconds.
Do the substraction.
Convert back to the m:ss format.

1 Like

Thanks a lot :slight_smile:
Much appreciated!