trouble with inputs using a while loop :     
    int towerh;
    do{
        printf ("give me an integer between 1 and 23 and I will make a tower");
        int towerh = GetInt();
    }while (towerh < 1 || towerh > 23);

I'm trying to make this code block loop as long as towerh is not between 1 and 23. I keep getting errors saying that the variable needs to be initialized. 

I'm sure this is a small thing but I have no clue how to assess or correct it in c.