Looping | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Looping

write a do...while loop counting from 100 to 200 by two's. using c++

9th Nov 2016, 10:56 PM
Rabbi Sarpong
1 Answer
+ 1
I don't understand why you would need a do while loop. i would personally accomplish this with a for loop, with the counting part being (x=100; x<200;x+=2)
10th Nov 2016, 3:07 AM
Hannah T
Hannah T - avatar