Question: please help me with this . the code is in c++ 4. Lab Exercise Overloading Part 1 1. Change the sameMonth function into a overloaded
please help me with this . the code is in c++


4. Lab Exercise Overloading Part 1 1. Change the sameMonth function into a overloaded == operator. This will be a member function as demonstrated in the notes. Remember that you will want to compare the month, day, and year. 2. Add an overloaded ++ operator (as a member function, shown in the notes) 3. Just for fun, change the printDate function into an overloaded ./main Date is: 0/0/0 Please enter integer month, day, and year separated by spaces: 111 Please enter integer month, day, and year separated by spaces: 2 2 2 Date is: 1/1/1 Date is: 2/2/2 The dates are different. After incrementing Date is: 1/2/1 Date is: 2/3/2 After addition Date is: 1/2/1 Date is: 2/3/2 Date is: 3/25/1 Date is: 2/9/2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
