if (floor13 == 'N' || floor13 == 'n')
{
if (nof == 13)
{
nof++;
}
}
First of all, try to write your code with a little more space and indentation. It makes it much more readable. You have a semicolon at the end of your if statement. Remove it. You also should change && to || (or). As an example, n cannot be equal to both n and N so the condition will never be met.