Write a c program that prompts for a variable number


Write a C program that prompts for a variable number of integers, adds them up, and prints out the average. The user will enter either an integer to be averaged or a sentinel of 999 indicating that no more numbers are to be entered. When the sentinel is entered, the program will exit the repetition loop. It will then compute and display the average of numbers entered.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c program that prompts for a variable number
Reference No:- TGS0128731

Expected delivery within 24 Hours