Question: The program will register 40 studentsfor a class. The first 30 students get assigned the class. The next 6 are put on a waiting list.

The program will register 40 studentsfor a class. The first 30 students get assigned the class. The next 6 are put on a waiting list. No more students may register after 36. Print out a message for each of the above categories. No prompt needed- just loop.

Implement in c-code. Must have a While-Endrepetition structurethat includes anested if-then selectionstructure.

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 Programming Questions!