Question: a) Write a function named max( ) that will accept 2 integers as parameters and return the value of the greater number back to main(
a) Write a function named max( ) that will accept 2 integers as parameters and return the value of the greater number back to main( ).
b) Now modify the function to return the maximum number if 3 integer parameters are passed on to the max( ) function.
Done in C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
