Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

Calculate The Average of Grades Instructions:
Please read the following problem carefully. You will then logon on to https://www.draw.io/to create a professional diagram. You will put all titles, labels, and save your work using the information below. Please follow the directions:
Destini would like to get a better understanding of her grades in all of her college courses before Spring Break. Instead of using a calculator and paper to calculate her grade, she decided to design a program. She will design a program that will ask her to enter her course name and the number of grades in her grade book. The program will then Read the number of Grades based on what was entered by her, Add up all the Grades, Calculate the Average, and Display Course Name and the Average to Screen. It is important to consider that the number of grades will be different for each course. Using Repetition Control, please design this program.
1. Please Create Flowchart using Draw.10 and Simple Flowchart symbols only (Draw.IO)
2. Pseudocode.
Your unique Flowchart must have the following (See Example Here):
A. Name, Date, and class Name [Top Left of Flowchart)
B. A Title of the Flowchart in Bold [Centered at the top of your flowchart)
C. A Brief Summary of your Flowchart (2 to 3 short sentences describing your flowchart) [Left of Flowchart]


Sagot :

Answer:

The pseudocode is as follows:

Input coursename, numgrades

count = 1; totalgrades = 0

while count <= numgrades:

   input grade

   totalgrade+=grade

   count++

average = totalgrade/count

print(coursename)

print(average)

Explanation:

The solution is as follows:

(1) See attachment for flowchart

(2) See answer section for pseudocode

Explanation

Input coursename and number of grades

Input coursename, numgrades

Initialize count of grades input by the user to 1 and the sum of all grades to 0

count = 1; totalgrades = 0

This loop is repeated while count of grades input by the user is less than or equal to the numgrades

while count <= numgrades:

Input grade

   input grade

Add grades

   totalgrade+=grade

Increase count by 1

   count++

End of loop

Calculate average

average = totalgrade/count

Print coursename

print(coursename)

Print average

print(average)

C. Summary of the flowchart

The flowchart gets coursename and the number of grades from the user. Then it gets the score of each grade, add them up t calculate the average of grades.

Lastly, the course name and the average grades is printed

View image MrRoyal