You should fill in the blank in the following code with ______________.

```
public class Test {
public static void main(String[] args) {
System.out.print("The grade is ");
printGrade(78.5);

System.out.print("The grade is ");
printGrade(59.5);
}

public static __________ printGrade(double score) {
if (score >= 90.0) {
System.out.println('A');
}
else if (score >= 80.0) {
System.out.println('B');
}
else if (score >= 70.0) {
System.out.println('C');
}
else if (score >= 60.0) {
System.out.println('D');
}
else {
System.out.println('F');
}
}
}
```
a. int
b. double
c. boolean
d. char
e. void


e. void
void should here because the method does not return any value.

Computer Science & Information Technology

You might also like to view...

You would use a(n) ________ to display information at the top of each page

A) header B) title C) heading D) annotation

Computer Science & Information Technology

A table style is a collection of table ________ options that can be applied to a range with a single click

A) editing B) formatting C) color D) sizing

Computer Science & Information Technology

A(n) ____________________ custom show is a separate presentation or a presentation that includes slides from the original presentation.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A grammatical error is underlined with a blue wavy line.

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

Computer Science & Information Technology