n = 1; while (n < 10) { printf("%d ", n++); } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

n = 1; while (n < 10) { printf("%d ", n++); }

Correct the error and rewrite the correct answer

5th Dec 2021, 8:48 AM
Christine Jane Dulay
Christine Jane Dulay - avatar
2 Answers
+ 3
int n = 1;
5th Dec 2021, 8:58 AM
zexu knub
zexu knub - avatar
+ 2
What's wrong about this code? A little explanation would be great
5th Dec 2021, 8:58 AM
Michal Doruch