Question: 1 . Draw a flowchart for the program that will let a teacher enter exactly 5 scores. The program will output the average score, highest
Draw a flowchart for the program that will let a teacher enter exactly scores. The program
will output the average score, highest score, the number of passing scores or above and
the number of failing scores. You have to use an appropriate loop in your algorithm for
or while?
Hint: Use a box to store the highest score. Put in this box at the beginning.
Test your algorithm using the following cases in the table format below. You will end up
having separate tables. Refer to page in Lecture Notes: algorithms repetition
Repetion# Score Score Total Score Total Highest Pass Fail Avg
Outputs are
average
highest
passing scores
failing sores
Outputs are
average
highest
passing scores
failing sores
Give your answer to the following question. In the above algorithm, what would happen if
you put in highest at the beginning instead of Will your algorithm still work?
Why do you think I suggested you put in highest at the beginning?
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
