write a program to enter two numbers and display the greater number.
Answers
Answered by
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
Social Sciences,
7 hours ago
Social Sciences,
7 hours ago
Math,
13 hours ago
English,
13 hours ago
Hindi,
8 months ago
Math,
8 months ago
Math,
8 months ago