0
Todo list
Can anyone help me where is the problem??🙏 https://code.sololearn.com/c7Qcb8BufXDQ/?ref=app
1 ответ
+ 3
Use single scanner object.
No need multiple. and it won't work for same stream.
Other works but use
String name = input.nextLine(); // instead next(), pointer won't go next line. If the input in separate lines, use nextLine() method for strings..