
**strong text**getting an error can not run symbol while running this program..plz help me...
import java.util.Scanner;
class Great
{
public static void main(String args[])
{
int a;
int b;
int c;
Scanner x = new Scanner(System.in);
System.out.println("enter a");
a= x.nextInt();
System.out.println("enter b");
b= x.nextInt();
System.out.println("enter c");
c= x.nextInt();
if((a>b)&&(a>c))
{
System.out.println("checking....");
System.out.println("a is greter");
}
else
{
if(b>c)
{
System.out.println("checking....");
System.out.println("b is greter");
}
else
{
System.out.println("checking....");
System.out.println("c is greter");
}
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.