1. Use Notepad to place the following values in a text file: 86, 97, 144, 26. To simplify the problem, the values can each be placed on separate lines. Write a C# program to retrieve the values from the text file and print the average of the values, formatted with two decimal places. Please complete the assignmet as actual C# applications so yo can compile ad run them to see if you have any errors.

2. Write an application that retrieves a student name and three scores per line from a text file. Process the values by calculating the averae of the scores per student. Write the name and average to a different text file. Test your application with a minimum of eight records in the original file. Please complete the assignment in C# applications so you compile and run the to see if you have any errors.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *