+ 5

Am trying to use scanner class but i dont seem to get the required output just like the way i get using normal console.

https://code.sololearn.com/c6519LS2R1el/?ref=app

23rd Jun 2019, 9:20 PM
Musa Yushau Abu
Musa Yushau Abu - avatar
5 Answers
+ 7
Ok. Thank you very much Denise RoBberg really appreciate
24th Jun 2019, 2:15 PM
Musa Yushau Abu
Musa Yushau Abu - avatar
+ 6
Musa Yushau Abu It will not work on Sololearn. Running the code, user input is always first. That's why interactive code also won't work here.
24th Jun 2019, 2:09 PM
Denise RoƟberg
Denise RoƟberg - avatar
+ 5
I want the menu to display before the scanner request for the input
24th Jun 2019, 8:20 AM
Musa Yushau Abu
Musa Yushau Abu - avatar
+ 5
Your welcome :)
24th Jun 2019, 4:24 PM
Denise RoƟberg
Denise RoƟberg - avatar
+ 4
Only delete line 45 and uncomment 30,31
23rd Jun 2019, 9:54 PM
**šŸ‡¦šŸ‡Ŗ|šŸ‡¦šŸ‡Ŗ**
**šŸ‡¦šŸ‡Ŗ|šŸ‡¦šŸ‡Ŗ** - avatar