+ 1

User input in Java

I want to know, can I get user input multiple times? for example, for calculator, I want user to input first number and then second one.I also want my program to recognize operation that user has entered. So how can i do it? Thanks. https://code.sololearn.com/cbbV2HL6xL9K/?ref=app

23rd Dec 2017, 11:06 AM
Sad
Sad - avatar
2 Answers
+ 3
In NetBeans or Eclipse, you can get multiple inputs. In code playground, you have to enter each input in a new line, and they will be accepted as multiple inputs.
23rd Dec 2017, 11:27 AM
DAB
DAB - avatar
+ 2
Oh okay. I got it. Thanks for answer!
23rd Dec 2017, 11:30 AM
Sad
Sad - avatar