Question: I need to write a program that reads an unspecified number of scores and determines how many scores are above or equal to the average

I need to write a program that reads an unspecified number of scores and determines how many scores are above or equal to the average and how many scores are below the average. Enter a negative number to signify the end of the input. Assume that the maximum number of scores is 100.

I need to write a program that reads an unspecified number of

PreLab07 Analyze scores Write a program that reads an unspecified number of scores and determines how many scores are above or equal to the average and how many scores are below the average. Enter a negative number to signify the end of the input. Assume that the maximum number of scores is 100 Here is a sample run: Enter a new score or negative number to exit: 99.1 Enter a new score or negative number to exit: 85.6 Enter a new score or negative number to exit: -1 Total scores entered: 2 Average score: 92.35 Number of scores above or equal to the average: 1 Number of scores below the average: 1 Flowchart; Begin // Comnanta Make Arraylsoores, 100 //Declar ara ereate an array / Initialize aum accumlator to o // rnitia11 array ndax vwriab1 to D I91 inpue seareln Bcanner input tor tirat acoza rr acore 1a negativa, ead the thile loop acoree Inoranent the arnay index vartable Input: sooreln /Cat sart sooza uaing soanner input r acors ia nogative, and the wila 100p Exit Loop Total scores entered&i /LYes-Incrsnt the above counter Outpue: a new score or sepative nunber to exse alon Please send me your PreLab07 by next class to receive class participation credit

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!