Question: Write a C++ class named date . Its member data should consist of three ints: month, day, and year. It should also have two member
Write a C++ class named date. Its member data should consist of three ints: month, day, and year. It should also have two member functions: getdate(), which allows the user to enter a date in 12/31/02 format, and showdate(), which displays the date.
Step by Step Solution
3.54 Rating (154 Votes )
There are 3 Steps involved in it
Solution include include using namespace std class ... View full answer
Get step-by-step solutions from verified subject matter experts
