Can anyone help me in assigning a room according to each student ID for my C programming?
For example, there is 3 types of room which is room A, B and C that have different price. How can I assign a room to a student who have book the room?
This is my code but its a bit weird:
int check, week, studid, room, amt_due, bill;
char Room, Bill;
int Internet, Meal;
printf("This is Block A: \n1- A1 Single Bed\n2- A2 2-Bedded\n3- A3 3-Bedded\nPlease enter your option: ");
Room = "400";
Room = "200";
Room = "150";