Question: Date: CSC 170L-Computer Programming- Final Lab Examination you are done you will upload it to Blackboard and hand in this printout, as well as a

 Date: CSC 170L-Computer Programming- Final Lab Examination you are done you

Date: CSC 170L-Computer Programming- Final Lab Examination you are done you will upload it to Blackboard and hand in this printout, as well as a copy of the out issues, and it must produce the correct input or output as necessary put a comment that indicates which step you are implementing above the code: e.g//step 1, called your Labfinald, First Name LastName.cpp to perform each of the requirements Write a C++ program below. When credit, your code (Steps 3 -10) must be implemented exactly as directed below. Your complile and run witho code must //Step 2//Step." ete. Step O:Start a project and name your source file Step 1: Enter the skeleton code into your source file source file LabFinals FirstName LastName.cpp #include using namespace std int main) cinsert some code for the lab here> system("pause") return 0 Step 2: Type in the code to declare and initialize an array of float values called creditEarnedArray that has he following values 6.8 18.8 16.3 8.5 15.5 creditEarnedArray 6.8 10.6 11.7 20.76.8 ep 3: Print out all of the elements in the array on screen. p 4: Change the value of the fifth component in the array to 25.5, then print out that value only p 5: Calculate the Total and Average of the array elements and print the Total and Average on screen. 6:Change all values are less than 10.0 to 11.0 using a loop and an "if" statement as may be necessary. 7: Print out again all of the elements in the array on screen based on the changes made in step 6. 8: Write a FUNCTION and name that function SpecialNum. This function will take the array data in st he array length as parameters i.e. you will be passing the current array data and the array length as nents to this function from the Main. : Now, use the function created in step 8 to prompt a user to enter an input a special number in th of 11.0 and 25.0. Then print out all of the numbers in the array that is smailer than the number e

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!