Find the error(s), if any, in each of the following:
a) The following code should output the odd integers from 19 to 1:
for ( x = 19; x >= 1; x += 2 )
cout << x << endl;
b) The following code should output the even integers from 2 to 100:
counter = 2;
do
{
cout << counter << endl;
counter += 2;
} While ( counter < 100 );
Answers
Answered by
0
Answer:
I HAVE NO IDEA
Explanation:
Similar questions