HAY THANK FOR VISIT
TODAY I AM GIVING A SMALL PROGRAM FOR CHECKING THE GRATEST AMONG TWO NUMBERS.
<<<<<<<<<<<HAY THERE LETS START>>>>>>>>>
QUESTION :-Write a program to read two numbers and find the gratest number.
class abc
{
void main(int a,int b)
{
if(a>b)
System.out.println("the grater no is"+a);
else
System.out.println("the greater no is"+b);
}
}
TODAY I AM GIVING A SMALL PROGRAM FOR CHECKING THE GRATEST AMONG TWO NUMBERS.
<<<<<<<<<<<HAY THERE LETS START>>>>>>>>>
QUESTION :-Write a program to read two numbers and find the gratest number.
class abc
{
void main(int a,int b)
{
if(a>b)
System.out.println("the grater no is"+a);
else
System.out.println("the greater no is"+b);
}
}
No comments:
Post a Comment
HAY THAKYOU FOE VISIT