I used this code and it has the same output.
int i, howMany;
int total = 0;
float average = 0.0;
printf("How many points do you want to average?\n");
scanf(" %d", &howMany);
printf("Enter them! \n");
What is the differences between the two? and what advantages the heap has?