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
3 Respostas
+ 1
https://www.sololearn.com/Discuss/1516044/?ref=app
+ 1
Put ALL.nextLine(); as I have shown below -
площадь = ALL.nextFloat();
System.out.println("Подробно опиши свою квартиру и введи адрес");
ALL.nextLine();
информация = ALL.nextLine();