Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago