- 1
Fill in the blanks to print EVEN (multiples of 2) values from 0 to 20 using a for loop:
Every time I enter the number 20 it gives me an error message can any one help ?
3 Answers
+ 1
Where is the code?
+ 1
Show us the code then only we can help
0
Fill in the blanks to print EVEN (multiples of 2) values from 0 to 20 using a for loop sololearn
for(int x=0;x <=_____;x += 2)
{
cout<<x<<endl;
}