Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help. My code is acting up for the 3,4 and 5th part. Please in python too Write a program that generates a test score

Please help. My code is acting up for the 3,4 and 5th part. Please in python too
image text in transcribed
Write a program that generates a test score average based on five test scores given by the user: 1) The user should first be prompted for the first name of the student. 2) The user should then be prompted for the last name of the student. 3) The user then should be prompted for five test scores sequentially. 4) For each test scores the program should print out the entered score and corresponding letter grade 5) The program should print out the overall average of the five-test scores and the corresponding letter grade. In addition to the main(), your program should define and call three other functions named student_name (), calc_average (), and determine_grade () as part of this process: - student_name () - should prompt the user for the student's first and last name. - calc_average () - should compute the averages of all five test scores given by the user. - determine_grade () - should assign the corresponding letter grade to a given score. See screenshot below as a reference for what your program should generate if written correctly: Enter first name of student: Lamar Enter last name of student: Jackson Enter Test Score 1: 90 Enter Test Score 2: 78 Enter Test Score 3: 55 Enter Test Score 4: 85 Enter Test Score 5: 100 The full name of student is: Lamar Jackson The score and letter grade entered for Test 1 is: 90 A

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

Question

How are values illustrated in the case?

Answered: 1 week ago

Question

Describe S. Truett Cathys self-concept and self-efficacy.

Answered: 1 week ago