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 gradecalculator.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 or above
The number of students who failed scored below
A list of students who scored below
A list of students who scored above or equal to
For example, if the array is the program should output:
Test Scores:
Average Score:
Highest Score:
Lowest Score:
Number of Students Passed:
Number of Students Failed:
Students Who Failed:
Students Who Scored or Above:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
