Question: In C + + , use the Mathoperator enum you developed for Test 1 to decide what operation to perform on the two int values

In C++,use the Mathoperator enum you developed for Test1 to decide what
operation to perform on the two int values provided. Return the result of
performing the indicated operation on the int values.
Example input:
-5
-2
MathOperator.Add
Expected output:
-7
*/
static int Test2(int number1, int number2, Math0perator operation)
{
return 0 ;
}
#endif
 In C++,use the Mathoperator enum you developed for Test1 to decide

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!