What's wrong? Military time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
11th Jun 2021, 12:27 PM
None
5 Answers
+ 1
For input single hour digit append 0 ex: 1:00 AM => 01:00 For input 12:00 PM=> output should be 12:00, but your 00:00 check it again. Hope it helps..
11th Jun 2021, 12:35 PM
Jayakrishna 🇮🇳
+ 1
Thanks
11th Jun 2021, 12:47 PM
None
+ 1
None that's a 12hour clock. But problem states that convert 12hr format to 24 hour format.. read again here and examples also to understand it ,if this is about code coach problem of : https://www.sololearn.com/coach/70?ref=app
11th Jun 2021, 12:47 PM
Jayakrishna 🇮🇳
+ 1
You're welcome...
11th Jun 2021, 12:49 PM
Jayakrishna 🇮🇳