68 245
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #59488 in C# for Valeria

Question #59488
Number Analysis Program 


Write a program that reads data from file numbers.txt and process it. The file contains a series of numbers, each written on a separate line. The program should read the contents of the file into an array and then display the lowest, highest, total, and average of the numbers in the array. The program should have the following functions: 


readNumbers. This function reads numbers from file and stores them in the array.

getLowest. This function finds the lowest value in the array and returns that value.

getHighest. This function finds the highest value in the array and returns that value.

getSum. This function calculates and returns the sum of the values in the array.

getAverage. This function calculates and returns the average of the values in the array.
Expert's answer

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions