Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Flowgorithm program that reads an arbitrary quantity of non-negative real numbers and computes an average. Keep reading user supplied numbers until the user
Write a Flowgorithm program that reads an arbitrary quantity of non-negative real numbers and computes an average. Keep reading user supplied numbers until the user enters -1 to end the program. The program should keep a running total of the numbers the user input and a count of the quantity of numbers input. Upon completion of the inputting the stream of numbers, the program should calculate the average by dividing the running total by the count of input numbers.
Example output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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