Rao Atiq

Rao Atiq

  • NA
  • 14
  • 10k

C++

Nov 12 2014 9:44 AM

Problem Statement:

Suppose a company Oraflex organizes interviews for a vacant post. Assume that the interviews of the successful

candidates after short listing has been started and interview marks are being assigned. You being software

developer of the company are assigned a task to prepare candidates’ list that will store candidates’ information

such as their names, test score, interview marks and then display the selected candidate.

Keeping in view the above scenario, write a program in C++ that will store and display candidates’ names, test

scores, and interview marks. Further, Your program should contain a function to calculate total score of each

candidate. It should also contain a function that will display the total number of candidates appeared. Finally, it

should display the selected candidate.

Solution Guidelines:

? Use Linked List to implement above scenario.

? Your solution should contain the following two classes:

1. Candidate class (Node class)

2. CandidateList class (LinkedList class)

? Candidate class should contain constructors, setter and getter functions.

? Create a list of candidates and store each candidate’s information in the candidate list.

? Display each candidate’s information as given in simple output.

? Find and Display total number of candidates appeared in interview.

? Find the selected candidate on the basis of highest score obtained.

? Display the selected candidate along with its score (See sample output).

Sample Output:


Answers (2)