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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!