Question: c++ please 2. Create a class called IntPair that holds two integers. This class should have two member variables to hold the integers. You should
2. Create a class called IntPair that holds two integers. This class should have two member variables to hold the integers. You should also create members functions two constructors, and one named "set" that will let you assign values to the integers, and one named "get" that will allow you to access values to the integers, and overload operator + to add two IntPair objects by adding their two data members respectively, then overload the insertion operator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
