Question

3. What is the output of the following program? (8 Points) #include <iostream> using namespace std; int main(){ int i=20; for(int j=9; j>6; j--){ int i=10-j; cout<<i<<endl; } cout<<i<<endl; return 0; }

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9

Fig: 10

Fig: 11

Fig: 12