QuestionAsk Questions?

I need a solve for this problem please !

a program that displays grade statistics. The program should read any number of grades (up to 100) and ends when the user enters -1, the program should reject any invalid grade. You should store the numbers in an array

The program displays the following: · The number of grades · The grade average · The maximum grade · The minimum grade · The median grade, which is the middle grade after sorting the grades. If the number of grades is even, the median is the average of the middle two grades. · The standard deviation, calculated as: standard deviation=root 1/n-1 sigma from i = 1 to N (xi-m)^2 , where xi : the grade i m : the average of grades N : the number of grades · The number of passing grades (grade £ 50) · The number of failing grades (grade < 50) · An error message if the user enters an invalid grade ( grade > 100 or grade < 0).

View Answers

Related Tutorials/Questions & Answers: