+ 1
Can somebody please help me write positive even numbers less than 12
1st Nov 2016, 6:35 PM
quaye alfonso

2 Answers
+ 1
Thanks
1st Nov 2016, 6:55 PM
quaye alfonso

0
This should do the trick
for(int i=0; i<12;i=i+2) {
cout<<i;
}
1st Nov 2016, 6:53 PM
Gustavo Santos Ferreira

Often have questions like this?
Learn more efficiently, for free: