In Python...
Write a program that calculates a student’s final grade in this course.
The program should:
A | A- | B+ | B | B- | C+ | C | C- | D+ | D | D- | E |
---|---|---|---|---|---|---|---|---|---|---|---|
100-94 | 93-89 | 88-85 | 84-82 | 81-79 | 78-76 | 75-73 | 72-70 | 69-67 | 66-63 | 63-60 | 60-0 |
# Code.py print("program that calculates a student’s final grade in this course.") assignments = float(input("Enter a student’s average grade for the weekly assignments: ")) midCourse = float(input("Enter a student’s average grade for the mid-course project: ")) finalProject = float(input("Enter a student’s average grade for the final project: ")) finalGrade = (assignments*0.60)+(midCourse*0.20)+(finalProject*0.20) print("Final grade is",finalGrade)
Get Answers For Free
Most questions answered within 1 hours.