Create a WINFORM application named FirstNameLastNameM6B Save the application in the Unit6MasteryirstnameLastname folder. Create an application that will simulate a gradebook.  Use the records.txt text file that contains six records that include: studentName, grade1, grade2, grade3, grade4 and grade5.  These fields are separated by a comma.  So, you have 6 students and each of the students have 5 grades.    On form load have the student names brought into a string array.  Have the total of the 5 grades for each student brought into a double array.  You will have an array that holds each student’s total of the 5 grades listed. (You can use tokenization to accomplish this.  The first field is the name and the next five are all grades that will need to be added together and stored in your array.)   There should be a form with a listBox that displays the student names on form load.  There should also be labeled labels for each of the students’ total of grades, their average and the letter grade.   When the user clicks on a name in the listbox button that students total, average and letter grade should be displayed in the appropriate labels.  You can do the necessary calculations inside the SelectedIndexChanged event of the listBox and get the letter grade by passing the average to a method and determine the letter grade based on the following criteria. Average                 Letter Grade 90-100                            A 80-89                             B 70-79                             C 60-69                             D 0-59                               F   Return the letter grade back so it can be displayed along with the other information.  Once the user clicks on another entry in the listBox the information in the labels should be replaced by the appropriate ones for the selected student.    There should be a button to Save to File that will take all students names and write them back to a text file called gradebook.txt along with their average and letter grade.   There will be an exit button to exit the application. You will need at minimum an array for name, grades, and letter grade.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Create a WINFORM application named FirstNameLastNameM6B

Save the application in the Unit6MasteryirstnameLastname folder.

Create an application that will simulate a gradebook.  Use the records.txt text file that contains six records that include: studentName, grade1, grade2, grade3, grade4 and grade5.  These fields are separated by a comma.  So, you have 6 students and each of the students have 5 grades. 

 

On form load have the student names brought into a string array.  Have the total of the 5 grades for each student brought into a double array.  You will have an array that holds each student’s total of the 5 grades listed. (You can use tokenization to accomplish this.  The first field is the name and the next five are all grades that will need to be added together and stored in your array.)

 

There should be a form with a listBox that displays the student names on form load.  There should also be labeled labels for each of the students’ total of grades, their average and the letter grade.

 

When the user clicks on a name in the listbox button that students total, average and letter grade should be displayed in the appropriate labels.  You can do the necessary calculations inside the SelectedIndexChanged event of the listBox and get the letter grade by passing the average to a method and determine the letter grade based on the following criteria.

Average                 Letter Grade

90-100                            A

80-89                             B

70-79                             C

60-69                             D

0-59                               F

 

Return the letter grade back so it can be displayed along with the other information.  Once the user clicks on another entry in the listBox the information in the labels should be replaced by the appropriate ones for the selected student. 

 

There should be a button to Save to File that will take all students names and write them back to a text file called gradebook.txt along with their average and letter grade.

 

There will be an exit button to exit the application.

You will need at minimum an array for name, grades, and letter grade. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 12 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY