Sample Output: 7k Python Shell Eile Edit Shel Debug Options Windows Help > main( WELCOME TO THE FINAL EXAM EXEMPTION PROGRAM!! Enter the student' s class average: 97 Enter the number of days that the student missed: -10 Invalid Days missed cannot be less than 0. Enter the number of days that the student missed: 2 Congratulations! You are exempt from the final exam because your average is at least 96! >> main ( ) WELCOME TO THE FINAL EXAM EXEMPTION PROGRAM!! Enter the student's class average: 80 Enter the number of days that the student missed: 0 Sorry You are not exempt from the final exam! >>main () WELCOME TO THE FINAL EXAM EXEMPTION PROGRAM!! Enter the student's class average: 90 Enter the number of days that the student missed: 0 Congratulations! You are exempt from the final exam because your average is at least 90 and you had perfect attendance this semester! >>> main () WELCOME TO THE FINAL EXAM EXEMPTION PROGRAM!! Enter the student's class average: 95 Enter the number of days that the student missed: 2 Congratulations! You are exempt from the final exam because your average is at least 93 and you have not missed more than 2 days this semester! > main ( ) WELCOME TO THE FINAL EXAM EXEMPTION PROGRAM!! Enter the student's class average: -10 Invalid Average must be between 0 and 100. Enter the student's class average: 94 Enter the number of days that the student missed: 4 Sorry You are not exempt from the final exam! >>> Ln: 53 Col: 4
I need help with this problem I attatched the sample output
Exempt You will be writing a
• Prompt the user for a student’s average and number of days missed. Input Validation:
• Average must be between 0 and 100 • Number of days missed cannot be less than 0. Be sure to validate each value separately!
• Use the following conditions to display a message indicating whether or not a student is exempt from the final exam.
If exempt, indicate why.
o Average is at least 96
o Average is at least 93 and days missed are less than 3
o Average is at least 90 and student has perfect attendance


Trending now
This is a popular solution!
Step by step
Solved in 9 steps with 7 images









