Question: Pls help me with this in JS/JavaScript Programming Write a JavaScript program that will determine if a meeting room is in violation of fire regulations
Pls help me with this in JS/JavaScript Programming
Write a JavaScript program that will determine if a meeting room is in violation of fire regulations for the maximum room capacity. The program will read in the maximum room capacity and the number of people to attend the 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. 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 to meet the fire regulations and hereby allow the meeting to take place. Write a JavaScript program that will determine if a meeting room is in violation of fire regulations for the maximum room capacity. The program will read in the maximum room capacity and the number of people to attend the 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. 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 to meet the fire regulations and hereby allow the meeting to take place
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
