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
Science,
4 months ago
English,
9 months ago
English,
11 months ago
Environmental Sciences,
11 months ago