Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exemption Write a program that prompts the user for their class average and number of days missed. The program will then determine and display whether
Exemption
Write a program that prompts the user for their class average and number of days missed. The program will then determine and display whether or not the student is eligible to exempt the based on the following criteria:
- At least 95% average and no more than 2 days missed of class
OR
- At least 92% average and perfect attendance
Pseudocode:
Declare and initialize variables
float classAverage
int numDaysMissed
Display Intro
Prompt for classAverage
Prompt for numDaysMissed
If structure to determine exemption
if classAverage >=95 and numDaysMissed <=2:
Display exempt
elif classAverage >=92 and numDaysMissed == 0:
Display exempt
else:
Display Not exempt
Step 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