Question: Code with Visual Studio C# C# Program Sort Last Name Method Bubble sort Processing In a loop for number of elements This project will use
Code with Visual Studio C#

C# Program Sort Last Name Method Bubble sort Processing In a loop for number of elements 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. In a loop starting at element 1 and continuing for all elements in the aray Switch array location to place the array in alphabetic order Endlogp Endloap End Method 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 Print Report Method Write Headings In a loop until number of students Display student name, total points and percent Prompt the user to enter each of the grades Add each of the grades to the total grade Endlaan End Mcthod Endlogp 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 The report at the end should look like this. Name Total Pct Endlegp Call method to generate the report Write all records to a binary file Call method to sort by last name Call method to generate the report Lucas, Kathy Brown. Michael Richards, John Edwards. Kim Garvey, Lynn Finley, Steve Grossman, Terri Grey, Ed 85.75 343 33383.25 335 83.75 305 368 354 88.5 325 81.25 322 80.5 76.25 92 End of main function For all calls to functions pass the class array and the number of elements in the array Class GaurssGxadc Data members ast Name Input data from the first project Student First Name. Student L Total Grade Final Percent Methods Constructor No code Calculate Percent Percent is calculated by Total Grade divided by Total possible (400) times 100 c property (get/set) processing for the 4 data members C# Program Sort Last Name Method Bubble sort Processing In a loop for number of elements 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. In a loop starting at element 1 and continuing for all elements in the aray Switch array location to place the array in alphabetic order Endlogp Endloap End Method 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 Print Report Method Write Headings In a loop until number of students Display student name, total points and percent Prompt the user to enter each of the grades Add each of the grades to the total grade Endlaan End Mcthod Endlogp 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 The report at the end should look like this. Name Total Pct Endlegp Call method to generate the report Write all records to a binary file Call method to sort by last name Call method to generate the report Lucas, Kathy Brown. Michael Richards, John Edwards. Kim Garvey, Lynn Finley, Steve Grossman, Terri Grey, Ed 85.75 343 33383.25 335 83.75 305 368 354 88.5 325 81.25 322 80.5 76.25 92 End of main function For all calls to functions pass the class array and the number of elements in the array Class GaurssGxadc Data members ast Name Input data from the first project Student First Name. Student L Total Grade Final Percent Methods Constructor No code Calculate Percent Percent is calculated by Total Grade divided by Total possible (400) times 100 c 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
