else statement always runs after if and if else :     #include <stdio.h>
    int main(int argc, const char * argv[]) {
    //run...
    printf("----------------CALC--------------\n");
    printf("(1) Type in a letter to get a secret message: ");
    int validSecret = 0;
    char secretLetter;
    while(validSecret == 0){
        scanf("%c",&secretLetter);
        if(secretLetter == 'b'){
            printf("B\n");
        }
        else if (secretLetter == 'r'){
            printf("R\n");
        }
        else if (secretLetter == 'k'){
            printf("K\n");
        }
        else {
            printf("Game over\n");
            validSecret = 1;
        }
    }
    return 0;
    }
If I enter a b the if statement executes correctly and prints a B and a new line but also prints game over. Its running the if and the else... This makes no sense.