I need program to calculate the number of seconds since
midnight.
For example, suppose the time is 1:02:05 AM.
Since there are 3600 seconds per hour and 60 seconds per
minutes,
it has been 3725 seconds since midnight (3600 * 1 + 2 * 60 + 5 =
3725).
The program asks the user to enter 4 pieces of information: hour,
minute, second, and AM/PM.
The program will calculate and display the number of seconds since
midnight.
Modify the program...