Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code Using C# Program using C# This project will use the prograrn from project one Two methods will be added in this project to the

Code Using C#

image text in transcribed

Program using C# This project will use the prograrn 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 Sort Last Name Method Bubble sort Processing In a loop for number of elements array and will be used to write the data to a 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 The first method will sort the last name of the class array in alphabetical order. The second method wll generate a report of the items in the array. End Method Processing main method In a loop until the user indicates no more students: Prompt the se 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 rades Add each of the prades to the total grade Endloop End Method Endlosn Call method of class to calculate percentage pass total possible 400) Display the student name, Prompt the user if there are more students The report at the end should look like this total grade and the percentage Namc Tota Pct Endloop Call method to generate the report Write all records to a binary file Call method to sort by last narme Call method to generate the report 343 Lucas. Kathy Brown. Mich 33383.25 Richards, John Edwards, Kim Garrey, Lynn Fil.Te322 85.75 83.75 7625 02 88.5 305 End of main function Finley, Steve Grossman, Terr 325 1.25 Grey. Ed 354 For all calls to functions pass the class aray and the number of elements in the array Data members Input data from the first project Student First Name, Student Last Name Total Grade Final Percent Constructor No code Calculate Percent Percent is calculated by Total Grade divided 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL 10 High Performance Expert Techniques For Query Optimization High Availability And Efficient Database Maintenance

Authors: Ibrar Ahmed ,Gregory Smith ,Enrico Pirozzi

3rd Edition

1788474481, 978-1788474481

More Books

Students also viewed these Databases questions

Question

=+1. What is a key public for this product/service/concept?

Answered: 1 week ago

Question

Identify and control your anxieties

Answered: 1 week ago

Question

Understanding and Addressing Anxiety

Answered: 1 week ago