
Create a class Student which stores Name ,Rollno and Grandtotal of a student. Use class Vector to maintain an array of students in the descending order of the Grand_total. Provide the following functions 1) create() : this function will accept the n student records in any order and will arrange them in the sorted order. 2) insert (): to insert the given student record at appropriate index in the vector depending upon the grand total. 3) deleteByName( ) : to accept the name of the student and delete the record having given name 4) deleteByRollNo( ): to accept the roll no of the student and delete the record having given roll no.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
