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
Get step-by-step solutions from verified subject matter experts
