Question: Use user-defined functions and control flow to complete the following tasks: 1. Define a user-defined function, ScoreCalculator(score) that can take a score and determine the
Use user-defined functions and control flow to complete the following tasks: 1. Define a user-defined function, ScoreCalculator(score) that can take a score and determine the grade (use the variable name, mygrade) and print the grade. if score 90, print the grade as 'A'. if 90 > score 80, print the grade as 'B'. if 80 > score 70, print the grade as 'C'. if 70 > score 60, print the grade as 'C'. any score less than 60 is 'F'. 2. Run your function i n the homework file f or a score of 79.65.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
