how does vals(3, 2, 10, 4); and my int numbers different?
Type: Posts; User: tripline
how does vals(3, 2, 10, 4); and my int numbers different?
public class ttt
{
public int vals(int a, int b, int c, int d)
{
a=3; b=2; c=10; d=4;
int highest = a;
if(b>highest)
highest = b;...
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)...