Question: Write a program in c that uses printf and scanf to interact with the user. The program should first ask for a number of entries

Write a program in c that uses printf and scanf to interact with the user. The program should first ask for a number of entries (using scanf). It should then loop that number of times, asking for and retrieving an integer (again with scanf). When complete, it should print the average, and sum of the numbers collected in the loop.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!