The following code fragment reads in two numbers:
```
Scanner input = new Scanner(System.in);
int i = input.nextInt();
double d = input.nextDouble();
```
What is the incorrect way to enter these two numbers?
a. Enter an integer, a space, a double value, and then the Enter key.
b. Enter an integer, two spaces, a double value, and then the Enter key.
c. Enter an integer, an Enter key, a double value, and then the Enter key.
d. Enter a numeric value with a decimal point, a space, an integer, and then the Enter key.
d. Enter a numeric value with a decimal point, a space, an integer, and then the Enter key.
You might also like to view...
Cortana, the name of the personal digital assistant in Windows 10, is also the name of a female character in a popular video game
Indicate whether the statement is true or false
Double-clicking a worksheet tab allows you to rename the tab
Indicate whether the statement is true or false