Question: Please write the C# code in Microsoft Visual Studio. In the Chap7 folder of the student sample programs, you will find a file named Sales.txt.
Please write the C# code in Microsoft Visual Studio.
In the Chap7 folder of the student sample programs, you will find a file named Sales.txt. Create an application that reads this file's contents into an array, displays the array's contents in a List Box control, and calculates and displays the total of the array's values. Modify the application so it also displays the following: The average of the values in the array, The largest value in the array, The smallest value in the array.
The Sales.txt notepad file displays:
1245.67
1189.55
1098.72
1456.88
2109.34
1987.55
1872.36
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
