Question: Exercise 1: Convert the previous marks-to-grade example into a function that receives the letter mark as a variable and returns the associated number grade. Exercise

 Exercise 1: Convert the previous marks-to-grade example into a function that

Exercise 1: Convert the previous marks-to-grade example into a function that receives the letter mark as a variable and returns the associated number grade. Exercise 2: Modify the function in the previous example to return the Grade Point Average (GPA) based on the mark. Exercise 3: Modify the above function to allow the student to enter the marks for 5 courses and calculate the semester average and GPA. Exercise 4: Which of the following are valid if statements? If invalid write down the reason why it is invalid: if (total 500) if (rate FIVE" if age2.5 if (mark

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 Databases Questions!