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: 
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.
The problem is in the condition statement of your for loop:
(int i = 1; i == tNumberOfTeams;i++)

You are first initializing the variable i to 1
Then you have the condition - The loop will only be executed if this condition evaluates to true. The condition is i == tNumberOfTeams. Unless the number of teams is equal to 1 (which is the value currently stored in i), the loop will not be executed at all. 

What you probably want to do is say i<=tNumberOfTeams, so that the loop will keep running as long as that statement is true.