+ 1
To display first 10 even numbers using loop
5 Answers
+ 21
int i;
for (i= 0; i<= 10; i += 2)
// Most simple loop.
+ 18
@pixie :D
Mayur helped me!
+ 4
You forgot to print it @dayve. Lol
+ 4
for(int i=0;i<=10;i+=2){
cout<<i;
}
+ 1
I will not be less than equal to 10 will be less than equal to 20