Question: q7) CONSIDER THE FOLLOWING CODE: void Question() { int count = 1, i; for (i = count; i

q7)

CONSIDER THE FOLLOWING CODE: void Question() { int count = 1, i; for (i = count; i <= 6; i++) { cout << " " << count *i << " "; if (i % 3 == 0) cout << endl; } }

Select one:

a. 1 2 3 4 5 6

b. 2 4 6 1 3 5

c. 4 5 6 1 2 3

d. 1 4 6 2 3 5

please explain how you get the answer. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!