Complete the following code skeleton to declare a class called Date. The class should contain member variables
Fantastic news! We've Found the answer you've been seeking!
Question:
Complete the following code skeleton to declare a class called Date. The class should contain member variables and functions to store and retrieve the member variables month, day, and year components of a date.
The function that store data should be called storeDate() and should have the parameters of M, D, Y.
The function showDate() should output to the screen the member variables month, day, and year.
class Date {
private:
public:
}
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: