Enter number of rooms then call readRoom() method

I need a bit of help, i want to be able to enter the number of rooms of a house using the keyboard, then whatever number i entered I want to call the readRoom() method which contains information on a room and will add a room to an arraylist. Any help would be great thanks.