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

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

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 Programming Questions!