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 programPls 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

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!