You are asked to write a program that will display a letter that corresponds with a numeric rating system. The program should use a switch statement. The numeric rating is stored in a variable named rate and rate may equal 1, 2, 3, or 4. The corresponding letter is stored in a variable named grade and grade may be A, B, C, or D. Which is the test expression for this switch statement?

a. rate
b. grade
c. 1, 2, 3, or 4
d. A, B, C, or D

a. rate

Computer Science & Information Technology

You might also like to view...

The pointAt() method has two parameters.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Use the _____ tag pair to begin and end a table row.

a. ``` a. ``` b. ``` ``` c. ```

``` d. none of the above

Computer Science & Information Technology