+ 2
It works. But what i have to change if i would like to insert and receive different values? I can't understand it. Please, help.
7 Réponses
+ 3
Try this then
https://www.sololearn.com/learn/Java/2220/?ref=app
+ 2
Thanks a lot, friend. I will try to do it.
+ 2
I am so happy!!!! Couse i did it.) I am a winner!!! With your help, guys.
+ 1
Guys!!! Don't click this link!!! Becouse happens something terrible.
+ 1
Thanks a lot.
0
Take the user input..
How? Revisit this lesson: Taking User Input
https://www.sololearn.com/learning/2220/
Make a Scanner object, and use it's methods... Before that import Scanner class...
1) import java.util.Scanner;
2) Scanner inp = new Scanner(System.in) ;
3) take user input of line of string..
String str = inp.nextLine() ;
0
You're welcome..