Question: Write a Python program that will compute the corresponding grade based on the average test score. This program must consist of three functions as indicated
- Write a Python program that will compute the corresponding grade based on the average test score.
- This program must consist of three functions as indicated below.
- readScore
- This function will prompt the user to enter the score and return a legitimate score.
- Any number outside the range of 0 to 100 is not legitimate score.
- checkGrade
- This function should accept three test scores as parameters and return the grade based on Table 1.
- displayGrade
- This function should accept a grade as parameter and prints the grade and its corresponding grade-message based on the Table 1.
|
Table 1
Task 2: Function Applications
- Write a function called check that accepts either two or three parameters of type integer.
- It should return the smallest number if the sum of the all the numbers is odd.
- Otherwise, it should return the biggest number of all the numbers.
- You are required to write a complete Python program to test this how to use this function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
