Question: 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

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!