Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C# Program.cs file Student.txt File https://usi.blackboard.com/bbcswebdav/pid-1080166-dt-content-rid-13926598_1/courses/CS358.001201910/CS358.001201910_ImportedContent_20180727023720/Students.txt Attached is a data file containing student information named Students.txt. The info includes a first name, middle initial,
Using C#
Program.cs file
Student.txt File
https://usi.blackboard.com/bbcswebdav/pid-1080166-dt-content-rid-13926598_1/courses/CS358.001201910/CS358.001201910_ImportedContent_20180727023720/Students.txt
Attached is a data file containing student information named Students.txt. The info includes a first name, middle initial, last name, phone number, email and gpa. You must write a C# program, using file handling techniques from Chapter 13 of the textbook, that 1.) adds Malachi Constant, a transfer from Stanford, in the appropriate spot with a 4.0 gpa and any phone number and email address to the file in the proper position, 2.) prints how many students have a 3.0 gpa or higher, 3.) prints the name and gpa of all students with the last name Anderson, 4.) prints how many students do not have an email account, 5.) prints the average gpa of all students. After you add Malachi Constant with a phone number, email address and 4.0 gpa, you should find the following 1.) 4166 students have a 3.0 gpa or higher, 2.) there are 20 Andersons, 3.) there are 19 students with no email address, 4.) the average gpa is 2.802843, 5.) there are 10,491 students total Write the results to a file named Output.txt. Evaluation: Read File Properly Parse File Properly Place Malachi Constant Properly Correct Results Output File Properly Comments 20 points 20 points 10 points 20 points 20 points 10 points Attached is a data file containing student information named Students.txt. The info includes a first name, middle initial, last name, phone number, email and gpa. You must write a C# program, using file handling techniques from Chapter 13 of the textbook, that 1.) adds Malachi Constant, a transfer from Stanford, in the appropriate spot with a 4.0 gpa and any phone number and email address to the file in the proper position, 2.) prints how many students have a 3.0 gpa or higher, 3.) prints the name and gpa of all students with the last name Anderson, 4.) prints how many students do not have an email account, 5.) prints the average gpa of all students. After you add Malachi Constant with a phone number, email address and 4.0 gpa, you should find the following 1.) 4166 students have a 3.0 gpa or higher, 2.) there are 20 Andersons, 3.) there are 19 students with no email address, 4.) the average gpa is 2.802843, 5.) there are 10,491 students total Write the results to a file named Output.txt. Evaluation: Read File Properly Parse File Properly Place Malachi Constant Properly Correct Results Output File Properly Comments 20 points 20 points 10 points 20 points 20 points 10 pointsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started