Question: 10) i = 0; j = 1; while(i < 3 && j < 5) { i = i + 1; j = j + 2;

10) i = 0; j = 1; while(i < 3 && j < 5) { i = i + 1; j = j + 2; } cout << i << endl; cout << j << endl; (11) i = 5; j = 1; while(i > 1 || j < 3) { k = 0; while(k < 2) { j = j + 1; k = k + 1; } i = i - 2; } cout << i << endl; cout << j << endl; (12) for(int i = 5; i > 0; --i) cout << i << endl; (13) x = 0; for(int i = 0; i < 3; ++i) { ++x; for(int j = 0; j < 2; ++j) ++x; } cout << x << endl; (14) x = 0; for(int i = 0; i < 3; ++i) { for(int j = 0; j < 2; ++j) { ++x; } cout << x << endl; } 

Can anyone please help me answering and explaining these questions !!?

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!