Question: Write a JavaScript program called grade _ calculator.js that calculates and analyzes students' grades based on their test scores stored in an array. The program

Write a JavaScript program called grade_calculator.js that calculates and analyzes students' grades based on their test scores stored in an array.
The program should:
Define an array named containing test scores of five students.
Calculate and display the following statistics:
The average test score.
The highest test score.
The lowest test score.
The number of students who passed (scored 60 or above).
The number of students who failed (scored below 60).
A list of students who scored below 60.
A list of students who scored above or equal to 90.
For example, if the array is , the program should output:
Test Scores: 75,82,60,45,95
Average Score: 71.4
Highest Score: 95
Lowest Score: 45
Number of Students Passed: 3
Number of Students Failed: 2
Students Who Failed: 45
Students Who Scored 90 or Above: 82,95
 Write a JavaScript program called grade_calculator.js that calculates and analyzes students'

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!