Please find error!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please find error!!

Please Help Me friends... Info : I want user to input two different values, one for age and other for money... Question : What is the error ? I am a noobie here 😂 EDIT : PROBLEM SOLVED 👍👍👍👍 https://code.sololearn.com/cG80RkcfQs1c/?ref=app

22nd Feb 2020, 1:46 PM
Ravi Prakash Dixit
Ravi Prakash Dixit - avatar
3 Answers
+ 5
Use only one Scanner Apply nextInt() on the same Scanner https://code.sololearn.com/c93sXbMqybhn/?ref=app Also the function name is camelBack, the i is capital letter. and a typo at import, util, which stands for utility.
22nd Feb 2020, 1:49 PM
Gordon
Gordon - avatar
+ 1
Also nextInt() with a capital I
22nd Feb 2020, 1:52 PM
Mihai Apostol
Mihai Apostol - avatar
+ 1
Gordon thanks 👍
22nd Feb 2020, 1:54 PM
Ravi Prakash Dixit
Ravi Prakash Dixit - avatar