Answer to Question #279144 in C++ for Rameen

Question #279144



Director office requires applications from students for the award of scholarship. Each student is required to submit reg no, name, semester and capa in the last semester. The form recived are placed one over the other initially the administration don't know how many student will apply After reciving all the applications the administration check each application and formulate a list of students whose cgpa is more than 3.8 This list contains the student on top who applied first You are required to implement this senarioin C++ Assuming primitive functions are already given just tell which ADT or data structure is used to implement this

1
Expert's answer
2021-12-13T13:45:52-0500

The best ADT to hold data about the applied students is a stack. When the data is pushed into the stack, the student who applies earlier would be on the bottom of the stack, but when the data will be poped to select the students with big enough cgpa, the earlier applied data occur at the top.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Rameen
14.12.21, 17:44

Helpful!

Leave a comment

LATEST TUTORIALS
New on Blog