New course! Every coder should learn Generative AI!
Try a free lesson0
what is the input of the odd numbers 1-100,using looping??
4 Answers
+ 2
How to output odd numbers from 1 to 100 with a loop:
for (int i = 1; i <= 100; i+=2) {
cout << i << endl;
}
0
thank you.
- 1
jhkgylvg
- 1
kamaal