Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm stuck on the problem. They gave us a sample program that calculates the sum of the numbers entered by the user and using that
I'm stuck on the problem. They gave us a sample program that calculates the sum of the numbers entered by the user and using that we are supposed to creat anew program that then calculates the average. I will also put my code down so you can see where I am. (Language c)
File: average.c 00 VOU AWN This program reads in a list of integers until the user enters the value -1 as sentinal. At that point, the program should display the average of the values entered so far. 9 10 11 12 13 #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started