Question: By using C++ Programming Language.Please put comment in program so that i can understand it. 1. Create the program that includes: a. Date.h b. Date.cpp

By using C++ Programming Language.Please put comment in program so that i can understand it.

 By using C++ Programming Language.Please put comment in program so that

1. Create the program that includes: a. Date.h b. Date.cpp c. DateMain.cpp at has been divided into 2: i Date.h includes the declaration of class Date that has been divide 1. private member: data member day, month and year (all are integer 2. public member: a. Constructor that will initialize day=10, month=12 and year-2001 b. Destructor c. Method setDate() will receive the value for day, month and year. This method will be used to give values to the data member for class Date. d. Method printDate() will be used to print the date that has been set by method set Date () before. ii. Date.cpp includes: 1. The implementation of constructor, method set Date() and method print Date(). iii. DateMain.cpp includes: #include using namespace std; #include "Date.h" void main() { Date a, b; b.setDate (25, 12, 2005); cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!