i have been getting this error, <identifier> expected
System.out.println("Enter the name of the lab this computer is located: \t");
room = scan.nextLine();
while (room.length() == 0)
{
System.out.println("Error: This field cannot be empty");
System.out.println("Enter the name of the lab this computer is located: \t"); }
room = scan.nextLine();
}
System.out.println("Enter the software set installed: \t");//THE ERROR IS IN THIS LINE
softwareLev = scan.nextLine();
while (softwareLev.length()==0)
{
System.out.println("Error: This field cannot be empty");
System.out.println("Enter the name software set installed: \n");
softwareLev = scan.nextLine();
}
//pLEASE HELP ME THANKS