New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Why invalid this code?
int x = 10; for ( ; ; ) { if x > 0 Console.WriteLine(x); x -= 3; } for ๋ฌธ ์ฌ์ด์ ๊ฐ์ ์ธ๋ฏธ์ฝ๋ก ๋นผ๊ณ ์๋ต ๊ฐ๋ฅ ํ์ง ์๋์? ์กฐ๊ฑด๋ฌธ์ ๋บ ์ ์๋ ๊ฑด๊ฐ์? i dont write english well.. sorry. can we skip condition statements?
1 Answer
0
the if need ()
if (x<0)