Author: Rupanjan Hari
Tester: Rupanjan Hari
Convert the 12 hour format to 24 hour format time.
Receive the time in a single line in the format hh:mm:ssAM.
Manipulate the hh as needed depending on the AM or PM mark.
i.e. (hh = hh + 12) if it is PM otherwise keep it the same.
click here to see the solution