0
Anyone plz explain what's wrong with this code not all test cases are being evaluated properly.. link is in description..
2 Antworten
+ 3
Your question is not linked properly.
+ 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