Enter three integers:What this means is that when you run the program after changing it using these instructions, you'll have to hit <return> after each number. So your input will have to look like this:
45 22 69
Enter three integers:
45
22
69
|
|
|
|
|
|
Keyboard.readString(); | stdin.readLine(); |
|
|
Keyboard.readInt(); | Integer.parseInt(stdin.readLine()); |
|
|
Keyboard.readDouble(); | (new Double(stdin.readLine())).doubleValue(); |