write a c++ program out put of 1 3 5 7 9

2 answers

Sounds like you just have to loop through five odd numbers and output each one.
for (i=1; i+=2; i<=9) ...