Question: e a C++ program to do the following 1. Requirements to receive a grade higher than zero 2. Add a comment to your program including

 e a C++ program to do the following 1. Requirements to

e a C++ program to do the following 1. Requirements to receive a grade higher than zero 2. Add a comment to your program including name, date, program name, jag# 3. output to the screen your name, date, program name, jag# 4. Submit.cpp file and a .jpg showing results 5. Create a user defined function to print an array 6. Declare an array named: alpha, with 10 components of type int Perform the following: Writ a. Initialize each component of alpha to O using a for loop, then print all components of the array: "Line 1:" c. Sum all components of the array using a for-loop, then print the sum: "Line 3:" d. Multiply each component of the array by 2, then print all components of the array: "Line 4:" e. Change the value of the first component to 10, the fifth component to 5, replace the last component of the array with the sum of the first and fifth component, then print all components of the array: "Line 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!