write a java program to input two nos. and find out the greatest . Do the program without importing scanner.
Answers
Answered by
1
public class Numbers
{
public static void main(String[] args)
{
int a,b;
if (a>b)
System.out.println("The greater number is : "+a);
else
System.out.println("The greater number is : "+b);
}
}
LEARNINGSCIENCE:
Thenku thenku xF
Similar questions