Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Draw a flowchart for the program that will let a teacher enter exactly 5 scores. The programm will output the average score, highest score,

image text in transcribed
1. Draw a flowchart for the program that will let a teacher enter exactly 5 scores. The programm will output the average score, highest score, the number of passing scores (60 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 -999 in this box at the beginning. Test your algorithm using the following 2 cases in the table format below. You will end up having 2 separate tables. Refer to page 5 in "Leceture Notes: algorithms-repetition" Repetion# Score Score >_ 60 Total + Score-> Total Highest Pass Fail Avg 0, 98, 50, 30, 60 Outputs are 47.6 (average 98 (highest) 2 (passing scores) 3 (failing sores)

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

Recommended Textbook for

More Books

Students also viewed these Databases questions