Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
Your program output for 1:00 AM, (for single digit hour input) is 1:00. But it should result to 01:00. Need to append 0 to all single digit hour value... Check this case also, For 12:00 AM output need is 00:00 but printing 0:00. Try to Remove warnings also.
23rd Mar 2020, 2:23 PM
Jayakrishna 🇮🇳