jeudi 7 septembre 2017

If statements for char

I am in need of some help. I am trying to correlate an if statement to ensure the input is simply characters. I don't know if I am overthinking it or what.

char 1;

    printf("Please Type your Student ID Number:");
            scanf("%c", &1);
    if(1 is
    return 0;

Aucun commentaire:

Enregistrer un commentaire