Question: please use python code Q1: (Function) Write a program that request the numeric grades on a midterm and a final exam and then uses a

please use python codeplease use python code Q1: (Function) Write a program that request the

Q1: (Function) Write a program that request the numeric grades on a midterm and a final exam and then uses a function named semesterGrade to assign a semester grade (A, B, C, D, or F). The final exam should count twice as much as the mid-term exam, the semester average should be rounded up to the nearest whole number, and the semester grade should be assigned by the following criteria: 90-100 (A), 80-89 (B), ... Possible outcome can be as in the below figure. The function semesterGrade should call a function you write with name ceil that rounds noninteger numbers up to the next integer. Enter grade on midterm exam: 88 Enter grade on final exam: 91 Semester grade: A Fig: Possible outcome

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!