Question: Operator Overloading Lab #5: Operator Overloading . This is a simple Lab to demonstrate the different operator overloading . Make a program with a menu,

Operator Overloading Lab #5: Operator Overloading . This is a simple Lab to demonstrate the different operator overloading . Make a program with a menu, the options will ask the user for the dates needed. (either one or two dates) . The menu will have the following options: . Subtract two dates o Increment a date by one . Compare two dates . Your program will override the following opertors: . Overload - (Subtract two dates, the result is one single int (days or months)) . Overload ++ (Increase date by one day) . Overload == (compare two dates, printing if are equals or not)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
