In my program, the user is allowed to enter up to 5000 numbers. The numbers they do enter need to be stored into an array. How would I go about reading these numbers into the array? I'm doing the program in different functions, and so far this is what I have.
After the numbers are in the array, I have to print the numbers.Code:float enterYourNumber(){ double number = 0; printf("Enter the number. \n"); scanf("%lf", &number); }//End enterYourNumber



LinkBack URL
About LinkBacks



