+ 1

Can somebody please help me write positive even numbers less than 12

1st Nov 2016, 6:35 PM
quaye alfonso
quaye alfonso - avatar
2 Answers
+ 1
Thanks
1st Nov 2016, 6:55 PM
quaye alfonso
quaye alfonso - avatar
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
Gustavo Santos Ferreira - avatar