Computers and Technology
Computers and Technology, 05.03.2020 12:56, ctyrector

This function is used to add a student into the list and making sure the list is sorted at all times. // The list has to be sorted at all times. You can add the student at the end of the list and then sort the list. // Sort can be implemented as a different method and call it everytime you add a record. // Use a temp struct (already declared) if you need to swap two structs in your logic. // Do not allow the student to be added to the list if it already exists in the list. You can do that by checking student names already in the list. // If the student already exists then return 0 without adding it to the list. If the student does not exist in the list then go on to add the student at the end of the list, sort the list and return 1. // If student list is full, then do not add new student to the list and return 2. // NOTE: Notice how return type of addSort() is checked in case 'a' of executeAction() // NOTE: You must convert the string 'schoolYear_input' to an enum type and store it in the list because the school year has enum type (not string type). // The list should be case sensitive. For instance, 'Roger' and 'roger' should be considered two different names. // Hint: 'count' holds the number of students currently in the list

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:00, alyssashae1818
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
image
Computers and Technology, 23.06.2019 14:00, camiserjai1832
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, kodak0531
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
image
Computers and Technology, 24.06.2019 00:50, anthonycraig0205
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
Do you know the correct answer?
This function is used to add a student into the list and making sure the list is sorted at all times...

Questions in other subjects:

Konu
Mathematics, 13.07.2019 04:00