Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 belon60).
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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions