Write a program that converts from 24-hour notation to


Problem

Write a program that converts from 24-hour notation to 12-hour notation. For example, it should convert 14:25 to 2:25 P.M. The input is given as two integers. There should be at least three functions: one for input, one to do the conversion, and one for output. Record the A.M./P.M. information as a value of type char, 'A' for A.M. and 'P' for P.M. Thus, the function for doing the conversions will have a call-by-reference formal parameter of type char to record whether it is A.M. or P.M. (The function will have other parameters as well.) Include a loop that lets the user repeat this computation for new input values again and again until the user says he or she wants to end the program.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that converts from 24-hour notation to
Reference No:- TGS02745740

Expected delivery within 24 Hours