Military time when does this code not work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Military time when does this code not work?

https://code.sololearn.com/c98zS4f3e0Pt/?ref=app

8th Jan 2020, 1:44 PM
B Ricks
B Ricks - avatar
1 Answer
+ 4
13:45 PM -> 25:45 wrong 13:45 AM -> 13:45 wrong 4:20 AM -> 4:20 wrong Btw: Output have to be in this format: XX:XX (check the description) Why don't you test your code?
8th Jan 2020, 2:13 PM
Denise Roßberg
Denise Roßberg - avatar