this is the code
the if (grade >= 40 && <= 90) is underlined saying... illegal start of expression
*/
package testing;
import java.util.Scanner;
/**
Type: Posts; User: dokunbam
this is the code
the if (grade >= 40 && <= 90) is underlined saying... illegal start of expression
*/
package testing;
import java.util.Scanner;
/**
Am still getting illegal start of expression
if (grade >= 40 && <= 90){
System.out.println("The number of " + gradecounter + " passed the Exam" );
}
...
Am trying to print the grade btw 40 and 90 be those that passed and less than 40 for those that failed the exams.
the the else statement to meet the condition (No grade is entered) is giving me...