Question: Write a python program that uses functions to assign random final scores and calculates the letter grades for students in the course. The program should:
Write a python program that uses functions to assign random final scores and calculates the letter grades for students in the course.
The program should:
-
Display a message stating its goal
-
Include a definition for a function that returns a random score for a student between 0 and 100
-
Include a definition for a function that receives a final score (between 0-100) and returns the corresponding letter grade (use the syllabus for accurate calculation)
-
Ask the users to input how many students are in the class.
-
For each student in the class:
-
Run the two functions in order to calculate their final score and letter grade
-
Output their final score and letter grade
-
A 100-94 A- 93-89 B+ 88-85 B 84-82 B- 81-79 C+ 78-76 C 75-73 C- 72-70 D+ 69-67 D 66-63 D- 63-60 E 60-0
-
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
