Question: C++ program question 3 function in a program. 3. Write a function that takes two numbers as arguments and returns either the minimum or the
C++ program question 3

function in a program. 3. Write a function that takes two numbers as arguments and returns either the minimum or the maximum based on a third argument that is either "max" or "min". Use the function in a program. 4. Write a function that takes two numbers and an arithmetic operator as arguments and returns the result of the operation on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
