#include using namespace std; // Names: _____________________________ // CSC 115: Lab 6: [30 points] // ANSWER BY REPLACING THE BLANKS _____ with the appropriate C++ code // Write your name in the blank indicated and paste the output at the end of the program. int main() { int j ; // The following code is supposed to write out the integers 1, 2, 3, 4, ..., 20. // Decide what should go in the blanks. cout << "Integers 1, 2, 3, 4, ..., 20:" << endl; j = ___; while ( j <= ___) { cout << j << " "; j = j + ___; } cout << "\n\n"; // The following code is supposed to write out the integers 0, 2, 4, 6 one number of each line. // Decide what should go in the blanks. cout << "Integers 0, 2, 4, 6 printed vertically:" << endl; j = ___; while ( j <= ___) { cout << j << ___; j = j + ___; } cout << "\n\n"; // The following code is supposed to write out the integers 10, 11, 12, 13, 14, and 15. // Decide what should go in the blanks. Do NOT replace the '<' cout << "Integers 10, 11, 12, 13, 14, and 15:" << endl; j = ___; while ( j < ___) { cout << j << " "; j = j + ___; } cout << "\n\n"; // The following code is supposed to write out the integers 2, 1, 0, -1 . // Decide what should go in the blanks. cout << "Integers 2, 1, 0, -1:" << endl; j = ___; while ( j >= ___) { cout << j << " "; j = j ___ ___; } cout << "\n\n"; // The following code is supposed to add up all positive integers that the user enters. // After the last integer to be added, the user will enter a 0. int value; // data entered by the user int sum = 0; // initialize the sum // get the first value from the user cout << "Enter positive integers to add up (enter 0 to quit):"; cout << "Enter a positive integer: "; cin >> value; while ( value ___ ___ ) { //add value to sum __________________; //get the next value from the user ______________________; ______________________; } cout << "Sum of the integers: " << sum << "\n\n"; // The following code is a simple for Loop that counts from 1 to 38 cout << "Counting from 1 to 38:" << endl; for (int i = ___; i ___ ___; i = i + ___) { cout << i << " " << endl; } cout << "All Problems Done!" << endl; return 0; } /* Output pasted below: */