A old C program I made. It's a simple menu driven program but I made it a little complex by including the concept of nodes and daughter nodes. The basic function runs on the If else and Case loops
The menu is somewhat like this:
What do you want to do?
- Allot a room
- Delete an alloted room
- View all the alloted rooms along with the student details
- To search any particular room
- View the number of rooms alloted
- Exit :
If we choose the first option, it displays
"Choose the rooms between 1-100 <if you don't want to choose press 0>"
Complete First loop case:
Complete second loop case: To delete a alloted room
3 loop just showcases what all rooms have been alotted and are reserved