English, asked by shyamkumaryadav65, 3 months ago

write a program to input
two numbers and
display the maximum number.​

Answers

Answered by tanvirrizvi
0

Here is your answer Mate

Answer:

public classNumbers

{

public static void main (int a, int b)

{

if(a>b)

{

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

}

else

{

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

}

}

}

Hope this helps you Mate

Similar questions