[solved] – Question 71004
Write a C# program to retrieve the values from the text file. Display the number of values processed and the average of the values, formatted with two decimal places. Also display the smallest value and the largest value. [Hint: To simplify the problem, the values can each be placed on separate lines.] • Save the integers in a text file and name it numbers.txt • Using a method retrieve the values from the text file and store in a list. The method should return a list. • Use other methods to loop through this list and show the number of values processed, calculate the average, find the largest and the smallest value.
Expert Answer
OR

