Copy and Paste this table into a word processing document and type your answers.
Submit a PDF file on eCampus.

What will the following code output?  If there is a syntax error in the code, put "Error" for the output.

Num Code Output
1. cout << "apples";
cout << "oranges";
 
2. cout << "apple";
cout << "endl";
cout << "kiwi";
 
3. cout << "a\nb\nc";

 

 
4. cout << 4 + 2 * 3;  
5. cout << 49 % 5;  
6. cout << (3 + 4) * (8 % 5);  
7. cout << "cats/ndogs";
 
 
8. cout << "programming is easy" endl;  
9. cout << "5 * 2 + 6 * 3";  
10. cout << "a" << endl << "z";
 
 
11. int A;
A = 15;
A = A * 3;
cout << A;
 
12. int A = -4;
A = A + 4;
cout << "A";
 
13. int X = (5 % 2) + (15 / 3);
cout << X * 2;
 
14. int Orange;
Orange = 5 + 7 * 2 - 3
cout << Orange;
 
15. int Year = 2020;
int New = year - 10;
cout << "Year = " << New << endl;
 
16. int T1 = 70;
int T2 = 75;
cout << T2 - T1 * 0.5 << " degrees";
 
17. cout << 1 << "2" << 3 << "4" << 5;  
18. int A = -16;
A = A * -0.25;
cout << A;
 
19. int B = 4;
cout << B * (B + B) * 3 - B + (B % 3);
 
20. cout << "Spiderman"\n;