Can you spot what is wrong with the java code that I am doing. Here is the java code that I have been working on...
import java.io.*;
public class Konata
{
public static void main
(String args [])
{
BufferedReader br=newInputStreamReader(System.in);
int grade,answer=0;
do
{
System.out.print ("\n Enter grade");
grade=Integer.parseInt(br.readline());
if ((grade>=90)||(<=100))
System.out.print("\n A");
else if ((grade>=80)||(<=89))
System.out.print("\n B");
else if ((grade>=70)||(<=79))
System.out.print("\n C");
else if ((grade>=60)||(<=69))
System.out.print("\n F");
else
System.out.print("\n out of range");
System.out.print("\n Do you want to try again? Press 1 for Yes and Press 0 for No:");
answer=Integer.parseInt(br.readLine());
}while (answer==1);
}
}
whatever number i type, the only answer read is A? thank you so much for the help!