This is a short part of my code. Im not sure why the code isn't print anything for equipment. It skips to "Does it have a whiteboard?(Y/n):". I don't think it is reading the input. What am i doing wrong here? (it reads everything else fine , I checked it)
switch(commands)
{
case "a":
System.out.println("Please enter room number:");
int roomNum = input.nextInt();
System.out.println("Please enter number of seats:");
int numSeat = input.nextInt();
System.out.println("Please enter AV Equipment (separated by commas):");
String equipment = input.nextLine();
System.out.println(equipment);
boolean hasWhiteboard;
boolean hasChalkboard;
input.nextLine();
System.out.println("Does it have a whiteboard?(Y/n):");