0

Почему код не работает? Где ошибка? What mistake?

Scanner as = new Scanner(System.in); int SS = as.; int V = 220; int KBO = V / SS; int CO = V % SS; int O = CO + SS; int PY = ++KBO; if(CO != 0){ System.out.println(PY); System.out.println(O); } else { System.out.println("You need to"); System.out.println("KBO"); }

21st Oct 2021, 9:01 AM
DesertFoxxxy
DesertFoxxxy - avatar
1 Odpowiedź
+ 3
int SS = as.nextInt();
21st Oct 2021, 9:07 AM
Simba
Simba - avatar