Why is my proogram Written in C not working? Im trying to save integers read by get char to array : I am trying to make a program that will use get char to read three integers and store it in an array but something is wrong in my code. I know this might be simple but I am a beginner so it kind of hard for me. Thanks. So please don't vote down my question.

 

    #include <stdio.h>

 

    int main( )

    {

    printf("Please enter three digit number 100 to 999: ");

    int numEntered[2];

    numEntered = getchar();

    for (int i = 0; i<3; i++){

    printf("%d", numEntered[i])

    }

    }
