In the code below I am getting a complier error that looks like this:
';' expected
}while (employee_equals(""))
^
I am not sure why I am getting this error or how to fix it.
//get employee name
{
System.out.println( "Enter employee name: " );
employeeName = input.nextLine();
do
{
System.out.print( "Enter proper employee name: " );
employee = Input.nextString();
}while (employee_equals(""))
if(employee==stop)
{
System.exit();
}
} // end get employee name
Please help.
Sincerely,