Question: In C++ please! PROGRAMMING QUESTION (10 points) A) Write Date, Time, and DateTime classes, as 1. Date has year, month, and day member variables. 2.
PROGRAMMING QUESTION (10 points) A) Write Date, Time, and DateTime classes, as 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 redefin two Date Time objects. sa redefined operator, which computes the number of seconds between Assu clock (no AM and PM). me all months have 30 days, all years have 360 days, and Time objects are on a 24-hour B) Write a main program that creates two Date Time objects and displays the number of seconds between them, using the redefined operator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
