anybody know what's wrong with my code start from this part:

if (roomNumber == 1){
if (HouseA1[roomNumber-1] < 2) {
HouseA1 [roomNumber-1] += 1;


why i can't book a room again in the that...