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, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
Does anyone have the problem where you try to watch a video to get your answer but it brings up a thing asking your gender to make ads relevant but it doesn't load? btw i won't be able to see the answer so use the comments .
Answers: 1
question
Computers and Technology, 25.06.2019 00:40
Roger ginde is developing a program in supply chain management certification for managers. ginde has listed a number of activities that must be completed before a training program of this nature could be conducted. the activities, immediate predecessors, and times appear in the accompanying table: activity immediate predecessor(s) time (days) a -βˆ’ 44b -βˆ’ 55 c -βˆ’ 11 d b 1010 e a, d 55 f c 55 g e, f 1010 calculate the slack time. show the details.
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
Mathematics, 24.05.2020 06:00
question
Mathematics, 24.05.2020 06:01
question
Mathematics, 24.05.2020 06:01
Questions on the website: 13722363