Indent code and insert comments to document your program. Program must be implemented and run as instructed. 
Define  a class Time with member functions which prompts the user to enter time in 12 hour notations.  The member functions then outputs the time in 24 hour notations.  Your member function implementations must contain three exception classes: invalidHr, invalidMin and invalidSec. If the user enters an invalid value for hours, then the program should throw and cath an invalidHr object. Similar conventions for the invalid values of minutes and seconds.
Use the following driver program to test your implementation: