Computer Science, asked by sstravels76, 13 hours ago

write a program to enter two numbers and display the greater number.

Answers

Answered by sohinibasak20120549
1

Answer:

class Addition

{

public static void main (int a, int b)

{

if (a > b)

System. out. println ("greater number is"+ a);

else

System. out. println ("greater number is"+ b);

}

}

Similar questions