Write function max(int a[ ],int n) that receives an array ofinteger and its size, it returns the
Fantastic news! We've Found the answer you've been seeking!
Question:
Write function max(int a[ ],int n) that receives an array ofinteger and its size, it returns the maximum number in that array.In the main function, ask the user to enter 20 values in an arraycalled numbers, then pass it to the function max(), and display thereturned value.
in c++ language
Related Book For
Posted Date: