Computer Science, asked by pradeepjose127, 5 months ago

What is the output of the following code?

for (int i=3; i<=10 ; i+=3)

cout << i;

Answers

Answered by Chapla
1

Answer:

3

6

9

Explanation:

Because after printing 3 it will go in for loop and it will add 3 so it will be 6 because you have written i+=3 so

Similar questions