CSCI1103 Columbus State Community Compute Average and Flowgorithm Lab 3 – onlineprowriters.com

Programming

I will attach the sheet that shows the output

Lab 3 – Compute Average

Assignment

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.

Be sure and provide user friendly prompts. Include a comment at the beginning of the program with your name, date, and a short description of the program. Handle the special case where a user only enters ‘-1’ and you cannot compute an average.

Example Output

The post CSCI1103 Columbus State Community Compute Average and Flowgorithm Lab 3 appeared first on My Assignment Geek.

ORDER NOW

ONLINE PRO_WRITERS

Disclaimer: It is illegal to use the research material ordered on this website for other than research purposes. You must quote the sources appropriately. The company bears no responsibility for the use of research work, not intended for education use, the work is sold as-is with the highest quality and service available and written by freelancers.