Q-1-2 List the output of the following code that is part of a complete C++ Program (4 Marks) int n, r, c n = 9; r = 1, c
Posted: Fri Jul 08, 2022 6:34 am
Q-1-2 List the output of the following code that is part of a complete C++ Program (4 Marks) int n, r, c n = 9; r = 1, c = 1; do { r=r¹2; C=C+r₁ } while (c <= n); cout <<c<<<" "<<r<<endl;