Question: 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
6360f68449fc1_235195.pdf
180 KBs PDF File
6360f68449fc1_235195.docx
120 KBs Word File
