Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The name

Write a program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The name will be a local variable. The program should display a letter grade for each score, and the average test score, along with the student's name. There are 12 students in the class. Write the following functions in the program:

calc_average - this function should accept 8 test scores as arguments and return the average of the scores per student

determine_grade - this function should accept a test score average as an argument and return a letter grade for the score based on the following grading scale:

90-100 A

80-89 B

70-79 C

60-69 D

Below 60 F

Data Example for the program:

Nancy Franklin 99 97 92 90 88 89 87 90

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

what are the provisions in the absence of Partnership Deed?

Answered: 1 week ago

Question

1. What is called precipitation?

Answered: 1 week ago

Question

1.what is dew ?

Answered: 1 week ago

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago