Try something like this:
for(count = 2; count > 0; --count) {
if (PassInput.equals("Password")&& (NumberInput.equals("123321")))
{
System.out.println("You have logged in!");
count = 1;
break;
}
else
{
if (count == 0)
break;
System.out.println("You have " + count + " more attempts to log in");
}
}
if (count == 0)
{
}