Question: My problem is that when I run the code the if statement is run but then the for-loop is bypassed. I am new to this and this is by first post. All help is welcome.

```
if (tMenuChoice == 1)
        {
            System.out.println("How many teams are there going to be?");
            int tNumberOfTeams = tKeyboard.nextInt();

            // This is where the code stops running. The for loop is not read but bypassed.

            for (int i = 1; i == tNumberOfTeams;i++)
            {
                System.out.println("Team " + i + "'s name?");
                String tNameOfTeam = tKeyboard.nextLine();
                String [] tTeamArray = new String[i]; 
            }
        }

```

Thanks

Answer: 
```
for (int i = 1; i == tNumberOfTeams;i++)

```

should be

```
for (int i = 0; i < tNumberOfTeams;i++)

```

The problems were that it would get false for the test condition on the first run and never do that iteration. Also, since you were writing to an array, you needed to start with 0.
Put a breakpoint on the line:

```
int tNumberOfTeams = tKeyboard.nextInt();

```

Make sure the value being assigned to tNumberOfTeams is greater than 1 and also, like the commenter above stated, for loops should never contain == in the continue condition (2nd param). If this is intended, I'd suggest either another if statement or some other code block.