Please help, I need to read an input txt file into an array and print it out put somehow I keep getting error message.

```
#include <stdio.h>

void reading_into_array(int A[]);

#define MAXVALS 100
int
main(int argc, char *argv[]){
    int numbers[100], i;
    reading_into_array(numbers[MAXVALS]);
    for(i = 0; i < 100; i++){
        printf("%d", numbers[i]);
    }
    return 0;
}

/*input information*/

void
reading_into_array(int A[]){
    double inp;
    int n = 0;
    while(scanf("%lf",&inp) == 1){
        A[n++] = inp;
    }
}

```