This is part of a university lab and the TA tells me there is an error but I haven't a clue. When I run it it asks me for the first char but then runs through the program and doesn't ask me at the second scanf.
#include <stdio.h>
int main(void) {
    char sen, ben;
    printf("Type in a character: ");
    scanf("%c", &sen);
    printf("The key just accepted is %d", sen);
    printf("\nType in another character: ");
    scanf("%c", &ben);
    printf("The key just accepted is %d", ben);
}
 
     
     
     
     
     
    