Opmerkingen (2)
  • Populair
  • Nieuw
  • Oud
Je moet ingelogd zijn om opmerkingen te kunnen maken
Lukasz
Niveau 7 , Trzebiel, Poland
4 May 2020, 17:20
cze, małe pytanko, co jest nie tak przed while daje int i = 0 i warunek: error: bad operand types for binary operator '&&' while(i < 10 && i++) { ^ first type: boolean second type: int
Damian Siadaczka
Niveau 20 , Warszawa, Poland
4 May 2020, 19:16
Trudno mi się odnieść, wstawiłeś komentarz pod moim profilem, komunikat test taki ponieważ po prawej stronie && wartość nie jest binarna i<10 da nam true albo false, ale i++ - już nie, zamiast tego zwróci "i" a następnie podniesie tą wartość o jeden, A co chciałeś osiągnąć?