This is a question on my study guide. I am not understanding switches very well.
The questions says a professor determines his grades based on the following table.
Assign the appropriate value to the variable grade(character) based on the variable score(integer). Use the switch structure.
We were told you are not supposed to use relational operators in JAVA in a switch (char or int).
My thoughts would have been
case 1: Grade = "A";
case 2: Grade = "B";
case 3: Grade = "C";
case 4: Grade = "D";
Grade = "F";
I just don't know how to work in the grade scale. Any help appreciated.