How make this array to read 50 integers numbers
I appreciate your help
thanks
Code:#include <stdio.h> int main (void) { int numbers[10], i; FILE *input; input = fopen("numbers.txt", "r"); for (i=0; i<10; ++i) fscanf(input, "%d", &numbers[i]); printf("The numbers read are: "); for (i=0; i<10; ++i) printf("%4d", numbers[i]); printf ("\n"); fclose (input); return (0); }