Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 code
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 outcomeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started