New course! Every coder should learn Generative AI!
Try a free lesson0
While loop
write a while loop to count from 100 to 200 by two's
1 Answer
+ 1
int start = 100;
int end =200;
while (start < (end + 1)){
start += 2;
}
write a while loop to count from 100 to 200 by two's