Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
You want to convert the time from a 12 hour clock to a 24 hour clock. If you are given the time on a 12 hour clock, you should output the time as it would appear on a 24 hour clock.
Determine if the time you are given is AM or PM, then convert that value to the way that it would appear on a 24 hour clock.
A string that includes the time, then a space and the indicator for AM or PM.
A string that includes the time in a 24 hour format (XX:XX)
1:15 PM
13:15
Language | Solution |
---|---|
C | available |
CPP | not available |
C# | not available |
Python | available |
Java | not available |
Ruby | not available |
Swift | not available |