The following code should output the odd integers from 19 to 1:
for ( x = 19; x >= 1; x += 2 )
cout << x << endl;
Answers
Answered by
2
Answer:
dude there is no decrement in the value of x
it should be( x - = 2)
Similar questions