+ 1
What is wrong with this program?
2 Answers
+ 2
Please provide some information about what you are trying to achieve in the code. There is no hint for what to enter as input and what should be the expected output.
0
Hey M. Jawahirullah nextln() method is not there in Scanner class. use next() or nextLine() methods for reading String