Write a program to accept a time in 24 hour format and check whether it is am...