Write a C++ class named date . Its member data should consist of three ints: month, day,
Fantastic news! We've Found the answer you've been seeking!
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 functions: getdate(), which allows the user to enter a date in 12/31/02 format, and showdate(), which displays the date.
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Posted Date: