Question: using c++ 3. (Date Class) Create a class called Date that includes three pieces of information as data members: A month (type int). A day

using c++
3. (Date Class) Create a class called Date that includes three pieces of information as data members: A month (type int). A day (type int) A year (type int). Your class should have a constructor with three parameters that uses the parameters to initialize the three data members. Provide a member function displayDate that displays the month, day and year separated by forward slashes (/). Write a test program that demonstrates class Date's capabilities
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
