0

Conditionals and Loops break and continue ?

Fill in the blanks to print only even numbers. for(int x=0; x<99; x++){ if(x%2 != 0) continue Console.WriteLine(x); } The tutorial say "wrong" !!? where is the problem? And i cant to continue tutorial !!! i try use 10 point for see.. Hooo it's my fault, i forgot the semicolon, i lost 10 point, i'm stupid! pffff

4th Jun 2020, 6:59 PM
Alain Mazy
Alain Mazy - avatar
3 Réponses
+ 1
I think , after continue you need this ;
4th Jun 2020, 7:00 PM
꧁༒☬Bad☬Boy☬༒꧂
꧁༒☬Bad☬Boy☬༒꧂ - avatar
0
Yes, yes! verry thanks, but i used 10 points for peanuts! :( i seeing your reply too late.. (sorry for my English)..
4th Jun 2020, 7:06 PM
Alain Mazy
Alain Mazy - avatar
0
👍👍
4th Jun 2020, 7:07 PM
꧁༒☬Bad☬Boy☬༒꧂
꧁༒☬Bad☬Boy☬༒꧂ - avatar