Design an algorithm that will prompt for and receive the time expressed in 2400 format (e.g. 2305 hours), convert it to 12 hour format (eg 11.05 p.m.) and display the new time to the screen. Your program is to repeat the processing until a sentinel time of 9999 is entered.
Comments
Leave a comment