Having a problem in military time(code coach)

All conditions match but not case 3 and case 5 https://code.sololearn.com/ch8IZiX3ivhF/?ref=app

2/6/2020 6:20:34 AM

s pal

5 Answers

New Answer


My guess is that the output should be always two digits for both hour and minute. That is to say, 4:05 AM should result in 04:05.


Glad to hear that.


Coder Kitten Absolutely right!!!! It worked!!


Denise Roßberg can you spare time to check this Edit: It's solved now


Coder Kitten can you help me here https://www.sololearn.com/discuss/2157600/?ref=app