Write only the method headers. Overload a method name, if appropriate.
a. Calculate the largest of 2, 3, or 4 integer values.
int val(int a, int b, int c ,int d)
if (a > b && b > c && b > d)
{return a + b;}
else if (a > c && c > b && b > d)
{return a + c;}
Is it asking for something similar to this? What do they mean by calculate the largest?