- 2
C++ project
Write a program that converts from 24-hours notation to 12-hours notation. For example, it should convert 14:25 to 2:25 PM. The input is given as tow integers. There should be at least three functions, one for input, one to do the conversion, and one for output. Record the AM/PM information as a value of type char, âAâ for AM and âPâ for PM.
2 Answers
+ 1
What are you asking? Do you want others to write this for you? Naw. Break it down into steps and implement one step at a time. If you get stuck on a step then show what you tried, explain how it is failing, and ask for specific help.
+ 1
Write down what you have. Essentially, how do we go from (14) to (2).? And the (25) requires no manipulation.