English, asked by ankitkumar657, 9 months ago

WAP to input two number and print the larger number. in java

Answers

Answered by pandu3202134
2

Answer:

sorry

I

don't

no

Explanation:

nice

to

meet

you

Answered by krittikaghanty
2

Explanation:

public static prog1

{

public static void main( int a, int b)

{

if ( a>b)

{

system.out.println( "the greater no."+a)

}

else

{

system.out.println ( " the greater no."+b)

}

}

}

Similar questions