Question: C language: Please correct this program. This program calculate the avg of the numbers given to it as input. You should terminate the input with
C language: Please correct this program. This program calculate the avg of the numbers given to it as input. You should terminate the input with the end-of-file character.

This is what I have now, however, when I try to run the program, it only promts me to input values, once I enter the values and enter into the while loop, it prints out the avg value and keep prompting user for input and keep looping. I cant exit the file with control D but only with control c. (btw I never changed any of my shortcut keys) Thanks in advance!!!!
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
