0

Anyone plz explain what's wrong with this code not all test cases are being evaluated properly.. link is in description..

https://www.sololearn.com/coach/70?ref=app

29th Dec 2019, 7:16 AM
Gana
Gana - avatar
2 Réponses
+ 3
Your question is not linked properly.
29th Dec 2019, 7:24 AM
Avinesh
Avinesh - avatar
+ 3
However I got the answer though Military time in the sense means even 7:45 AM in ordinary clock should be outputted as 07:45 AM We have to understand that they didn't mentioned that in question Just one more if statement for single digit AM hours place number will do the task. Here's the code for reference.. https://code.sololearn.com/caZQz9Dh3vIe/?ref=app
29th Dec 2019, 7:29 AM
Gana
Gana - avatar