+ 33
1)import Scanner class
2)make object of it
3)using method for taking user input through the object & store its value in a variable of desired type
4)again do the same for next user input
//lesson link .... for methods for taking user-input
https://www.sololearn.com/learn/Java/2220/?ref=app