Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write a program that calculates the final score of multiple students using different weight of exams and assign their final grade using the

 

Please write a program that calculates the final score of multiple students using different weight of exams and assign their final grade using the following criteria: If the average grade is 90 or above; grade 'A', If the average grade is between 80 and 89; grade 'B', If the average grade is between 70 and 79; grade 'C', If the average grade is between 60 and 69, grade 'D', If the average grade is below 59, grade 'F'. Students have taken 2 midterm exams and 1 final exam, where midterm exams has 30% of weight on the final grade and final exam has 40% of weight. a) Write the program to display the final grade for the student. b) Program should also create a text file to write the student's midterm and final exam scores, as well as the final grade. The text file should include the student's name and each exam's name and scores. You must copy your code to the answer box below, upload your Python code as .py file AND the text file as .txt file to this answer! Example: Student: Tolga ERCAN Midterm 1: 60.0 Midterm 2: 70.0 Final Exam: 80.0 Final Grade: C

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Heres an example program in Python that calculates the final score ... 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

An Introduction to the Mathematics of Financial Derivatives

Authors: Ali Hirsa, Salih N. Neftci

3rd edition

012384682X, 978-0123846822

More Books

Students also viewed these Programming questions

Question

What other requirements do they have for admission?

Answered: 1 week ago

Question

How does this change of structure reect in a change of function?

Answered: 1 week ago