You are given a list of students names and their test scores. Design a pseudocod
ID: 3729410 • Letter: Y
Question
You are given a list of students names and their test scores. Design a pseudocode that does the following:
Calculates the average test scores.
Determines and prints the names of all the students whose test scores are below the average test score.
Determines the highest test score.
Prints the names of all the students whose test scores are the same as the highest test score.
You are to divide this problem into sub problems as follows:
The first sub problem determines the average test score.
The second sub problem determines and prints the names of all the students whose test scores are below the average test score.
The third sub problem determines the highest test score.
The fourth sub problem prints the names of all the students whose test scores are the same as the highest test score. The main pseudocode combines the solutions of the sub problems.
Explanation / Answer
Solution:
Pseudocode:
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.