0

как решить данную проблему.

не могу понять в чем ошибка. https://code.sololearn.com/c49Ot9U8QEJ7/?ref=app

27th May 2019, 1:28 PM
костя
1 Answer
+ 4
You want an integer from the user. myVar is your Scanner. int age = myVar.nextInt(); Now you can compare age with ret: if(age < ret) Also possible: if(myVar.nextInt() < ret)
27th May 2019, 2:09 PM
Denise Roßberg
Denise Roßberg - avatar