'how to convert a keypad input to time? [closed]

so I'm working on a project where it's required to take a key pad input from the user, display it on an LCD, and then start a countdown according to the time, this is the required: "For example, pressing 1 displays 00:01, then pressing 2 displays 00:12, then pressing 4 displays 01:24, then pressing 5 displays 12:45" how do I implement this using C? my problem lies within receiving multiple inputs and arranging them in a time format P.S. I'm using TIVA C TM4C123GH6PM

c


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source