Your classroom program will help teachers determine if a classroom is full based on the capacity of multiple classrooms and the number of students enrolled in a given class. 

Write a program that uses the data provided in the table below to determine the following:

Number of Empty Seats

Filled or Not Filled Status

Room             Capacity        Enrollment

426                 25                    25

321                 18                    12

400                 20                    8

317                 100                 99

Within main call a separate function called DisplayResults which displays the following information in a tabular format on the terminal with the following heading:

Room             Capacity        Enrollment    Number of Empty Seats      Filled/Not Filled

For example, line 1 of your table, using the data from the data provided, should look like this, where you used tabs \t for spacing the output:

Room             Capacity        Enrollment    Number of Empty Seats      Filled/Not Filled

426                 25                    25                    0                                              Filled

Save your program as Classroom_01.c

Now modify your program that prompts the user to enter in the following information:

Room

Capacity

Enrollment

Now your program should display (Filled and Not Filled) information based on the information provided by the user.  The final output should look exactly the same as before.

Save your program as Classroom_02.c  Turn in both Classroom_01.c and Classroom_02.c 

All papers are written by ENL (US, UK, AUSTRALIA) writers with vast experience in the field. We perform a quality assessment on all orders before submitting them.

Do you have an urgent order?  We have more than enough writers who will ensure that your order is delivered on time. 

We provide plagiarism reports for all our custom written papers. All papers are written from scratch.

24/7 Customer Support

Contact us anytime, any day, via any means if you need any help. You can use the Live Chat, email, or our provided phone number anytime.

We will not disclose the nature of our services or any information you provide to a third party.

Assignment Help Services
Money-Back Guarantee

Get your money back if your paper is not delivered on time or if your instructions are not followed.

We Guarantee the Best Grades
Assignment Help Services