Reference no: EM13347223
1. Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time. The following are the various requirements of the program:
a. User inputs using keyboard the EST (Eastern Standard Time) time in hours,minutes and seconds format.
b. Use the "enum" data type for the collection of Time Zones.
c. Other variables can be declared locally where they are needed.
d. Should contain a function named GetTime that returns time in hours, minutes and seconds format, and another function named GetZone that returns a time zone, which could be Central or Mountain or Pacific.
e. Should also contain two void functions - PrintTime that prints time in all four zones andPnntZone that prints time zone in words.
f. All the functions should be called from the main.
![2094_time converstion.png](https://www.mywordsolution.com/CMSImages/2094_time converstion.png)