Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw a flowchart for the program that will let a teacher enter exactly 5 scores (each score needs to be greater than or equal to

image text in transcribed
Draw a flowchart for the program that will let a teacher enter exactly 5 scores (each score needs to be greater than or equal to zero). The program will output the total and average score. Reject bad inputs from the user. If she enters a negative number, tell her "Invalid score. Enter a score again" Test your algorithm using a table with the following 2 cases. Make one table for each test. You will have 2 separate tables. Repetition# Score Score Enter a score: 25 Enter a Enter a score: 0 Enter a score: 80 Enter a score: 55 score: 30 The total score is 190 The average is 38 HINT Use a while loop to reject negative inputs. Refer to page 12 in "Lecture Notes: Algorithms - repetition

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago