Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
#include
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: #includeStep 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