0

I have a problem, please help me.

Today i work in Intelliji idea and make code. My code skip line Scanner in else if. Please help me. And why it happens? https://code.sololearn.com/c2WLXUY527t3/?ref=app

18th Nov 2018, 12:53 PM
Леонид Маренков
Леонид Маренков - avatar
3 odpowiedzi
+ 1
https://www.sololearn.com/Discuss/1516044/?ref=app
18th Nov 2018, 2:37 PM
KrOW
KrOW - avatar
+ 1
Put ALL.nextLine(); as I have shown below - площадь = ALL.nextFloat(); System.out.println("Подробно опиши свою квартиру и введи адрес"); ALL.nextLine(); информация = ALL.nextLine();
18th Nov 2018, 2:59 PM
Sadman Sakib
Sadman Sakib - avatar