Search:

Type: Posts; User: dokunbam

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,162

    Re: help me with my code

    this is the code
    the if (grade >= 40 && <= 90) is underlined saying... illegal start of expression



    */
    package testing;
    import java.util.Scanner;

    /**
  2. Replies
    4
    Views
    1,162

    Re: help me with my code

    Am still getting illegal start of expression



    if (grade >= 40 && <= 90){

    System.out.println("The number of " + gradecounter + " passed the Exam" );
    }
    ...
  3. Replies
    4
    Views
    1,162

    help me with my code

    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...
Results 1 to 3 of 3