Question: Need help with finishing C++ PG. #include using namespace std; int main() { int maxCapacity, numAttending; int numExcluded, numCanAdd; cout //Calculate and output - your

Need help with finishing C++ PG.

Need help with finishing C++ PG. #include using namespace std; int main()

#include using namespace std;

int main() {

int maxCapacity, numAttending; int numExcluded, numCanAdd;

cout

//Calculate and output - your code here

cout

}

A program is required to determine whether a meeting room is in violation of fire law regulations regarding the maximum room capacity. The program will read in the maximum room capacity and the number of people attending a planned meeting. If the number of people is less than or equal to the maximum room capacity, the program announces that it is legal to hold the meeting and tells how many additional people may legally attend. If the number of people exceeds the maximum room capacity, the program announces that the meeting cannot be held as planned due to fire regulations and tells how many people must be excluded in order to meet the fire regulations I have started this program and uploaded this main.cpp outline to Canvas as Task 5. Or simply enter this outline //Meeting Room test in-class assignment STARTER CODE //NAME: //NAME: #include using namespace std; int main() int maxCapacity, numAttending; int numExcluded, numCanAdd cout Case #2-The number of people is the same as the max capacity maxCapacity numAttending Case #3-The number of people is more than the max capacity maxcapacity numAttending

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!