In the following code, what values could be read into number to terminate the while loop?

```
Scanner keyboard = new Scanner(System.in);
System.out.print("Enter a number: ");
int number = keyboard.nextInt();
while (number < 100 || number > 500)
{
System.out.print("Enter another number: ");
number = keyboard.nextInt();
}
```

a. Numbers less than 100
b. Numbers greater than 500
c. Numbers in the range 100 - 499
d. Numbers in the range 100 - 500


d. Numbers in the range 100 - 500

Computer Science & Information Technology

You might also like to view...

To link to a page in another site, a(n) absolute link is used.

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

Computer Science & Information Technology

In a function that receives a value from the main function via an argument and then displays the argument value on the screen, that argument is considered a(n) _____________.

a. input argument b. output argument c. input/output argument d. local variable e. stub

Computer Science & Information Technology

A theme applies only a font color to the report

Indicate whether the statement is true or false

Computer Science & Information Technology

Conditions in JavaScript are enclosed in parentheses.

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

Computer Science & Information Technology