A) What is the output to the screen of this code?
for (int i=0; i < 4; i++ ) { cout << i << " "; for (int j=i; j < 5; j++ ) { cout << 'A' << j << " "; } cout << endl; }
B) Write a nested for
loop that prints the following to the screen:
1ZZ 2YYY 3XXXX 4WWWWW 5VVVVVV