Question: In C++ PROGRAMMING QUESTION (10 points) A) Write Date, Time, and DateTime classes, as follows: 1. Date has year, month, and day member variables. 2.
PROGRAMMING QUESTION (10 points) A) Write Date, Time, and DateTime classes, as follows: 1. Date has year, month, and day member variables. 2. Time has hour, minute, and second member variables 3. DateTime is an aggregate of Date and Time. 4. DateTime has a redefined "operator, which computes the number of two DateTime objects Assume all months clock (no AM and PM). have 30 days, all years have 360 days, and Time objects are on a 24-hour B) Writ e a main program that creates two DateTime objects and displays the number of seconds operator. between them, using the redefined
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
