Create a programm that creates an object of created class Time and tests the member functions of class - C++
28.04.2014, 15:35. Просмотров 307. Ответов 3
Create a class called
Time that might be used to represent time.
Your class should include three data members of type int to represent hour,
Your class should provide a default constructor that receives no initial
The class should provide three member functions.
1. Member function
setTime should set the hour, minute and second.
2. Member function
printUniversal should display time in universaltime
3. Member function
printStandard should print time in standard-time
Create a program that creates an object of Time and tests the member
functions of class