Question: Project 2-Using Microsoft Visual C# This project will use the program from project one. Two methods will be added in this project to the program.
Project 2-Using Microsoft Visual C# This project will use the program from project one. Two methods will be added in this project to the program. The class for the first name, last name, total points and percent will be used. This class will be used as an array and will be used to write the data to a file. The first method will sort the last name of the class array in alphabetical order. The second method will generate a report of the items in the array Processing main method In a loop until the user indicates no more students: Prompt the user for the student's first name Prompt the user for the student's last name In a loop: Prompt the user to enter cach of the grades Add each of the grades to the total grade Endloop Call method of class to calculate percentage pass total possible(400) Display the student name, total grade and the percentage Prompt the user if there are more students Endloop Call method to generate the report Write all records to a binary file Call method to sort by last name Call method to gencrate the report End of main function For all calls to functions pass the class array and the number of elements in the array Class CourseGrads Data members Student First Name, Student Last Name Total Grade Final Percent Mcthods Constructor No code Calculate Percent Perccnt as calculated by Total Grade dixidsd by Total possible (400) times 100 create property (get/set) processing for the 4 data members
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
