subject

Instructions In this example, you use an array called scores, and we pass the array to a function called printScores(). This function loops through the array elements, and prints them. As before, the program prints the average of the grades. Here is the code: 04 UP APP 1 #include 3 5_ 6 void printScores (float scores (1) int main() { char s_name[] - "ECPI University"; float scores[6] - 78.7, 98.4, 120.2, 95.5, 180., 88.8}; float average - e. es int counter; printScores (scores); for(counter - counter < 6j counter++) { average -- scores[ counter); average /= float(6); printf("\nAt %s, your class average is %.16.", S_name, average) return ; 24 void printScores (float scores[]) int counter 28 printf("Here are your scores:\n\n"); for(counter - e; counter < 6; counter++) { printf("%.1f\n", scores[ counter]); return; And here is the output: R: CIS126\CIS126 November 2018 Development Unit 4\Unit 4 Guided Practice 2.exe Here are your scores: 78.7 98.4 100.0 196.5 100.0 88.8 At ECPI University, your class average is 93.7. - Process exited after 0.1714 seconds with return value 47 Press any key to continue... Submission Instructions Now, you enter the code, and run it. (No flowchart this time) Upload your. c file and a screenshot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading. Note - Do Not Copy and paste the output as seen in the directions of this exercise. This considered plagiarizing.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:50
3.2.5 suppose that we have an estimate ahead of time of how often search keys are to be accessed in a bst, and the freedom to insert items in any order that we desire. should the keys be inserted into the tree in increasing order, decreasing order of likely frequency of access, or some other order? explain your answer.
Answers: 1
question
Computers and Technology, 22.06.2019 07:30
By refraining from constructing a building until they are certain that it will not cause harm to the environment, an organization is adhering to the
Answers: 2
question
Computers and Technology, 22.06.2019 08:50
Can online classes such as gradpoint track your ip location like if im taking a final and i give somebody else my account and they take the final for me will it show where they are taking the final from? and can this be countered with a vpn
Answers: 1
question
Computers and Technology, 22.06.2019 11:40
Design a pos circuit that displays the letters a through j on a seven-segment indicator. the circuit has four inputs w, x, y, and z which represent the last 4 bits of the uppercase ascii code for the letter to be displayed. thus, if wxyz = 0001 then "a" will be displayed. (any answer with 22 or fewer gates and inverters, not counting any for the inputs, is acceptable)
Answers: 2
You know the right answer?
Instructions In this example, you use an array called scores, and we pass the array to a function ca...
Questions
question
Health, 27.05.2021 07:10
question
Mathematics, 27.05.2021 07:10
question
English, 27.05.2021 07:10
Questions on the website: 13722360