+ 2
User input java not working.
https://code.sololearn.com/crK98clnuLMk/?ref=app https://code.sololearn.com/crK98clnuLMk/?ref=app
7 Answers
+ 5
It is working. You can split multiple inputs into separate lines.
+ 5
You need to use println if you want to print the input. Code Playground doesn't work like any other java compiler because it asks for input first.
+ 5
For Example:
2000
1
2017
10
+ 2
I tried but just prints the prompt and ignore in the input. Try and run the code and see what I'm talking about
+ 2
Maybe I don't understand the multiple input split here
+ 2
I need the user to input something from the keyboard. It's just a simple age calculator that asks prompts user for inputs. That's why I have the Scanner class
+ 2
Yes correct. It won't take inputs from keyboard