C++ Language po. Write a function max() which is returns the greatest of two numbers. Test the function with a call from main() and complete with suitable printout.
#include <iostream>
using namespace std;
int Max(int a, int b)
{
if (a > b)
return a;
else
return b;
}
int main()
{
int a, b, c;
a = 100;
b = 991;
c = Max(a,b);
cout << "Max: " << c << endl; //by dee-u
return 0;
}