Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is done on the program Python Pete the professor is not a nice man. Last semester, he gave three exams to his class. At

This is done on the program Python
Pete the professor is not a nice man. Last semester, he gave three exams to his class. At the end of the semester, he dropped the highest grade for each student, averaged the other two grades and that is what the student received for the semester.
For example, Sam the student received grades of 80,90 and 70 on his three exams. Professor Pete dropped the 90, averaged the other two grades (80 and 70) and gave Sam a 75 for the course.
Please write a program input three grades (in any order) as floats. The program should eliminate the highest grade and average the other two. Here is some sample data:
\table[[Exam 1,Exam 2,Exam 3,Final Grade],[60,80,40,50],[70,80,90,75],[90,95,100,92.5],[80,90,60,70],[80,50,30,40]]
Save your work on the flash drive under the name PETE.
image text in transcribed

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

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

Is there a solution to this problem? Explain your answer.

Answered: 1 week ago

Question

Do you currently have a team agreement?

Answered: 1 week ago

Question

c. How is trust demonstrated?

Answered: 1 week ago

Question

c. Will leaders rotate periodically?

Answered: 1 week ago