Jump to content


Check out our Community Blogs

shahmalik's Content

There have been 1 items by shahmalik (Search limited from 08-December 18)


Sort by                Order  

#624202 data structure assingment using linklist plzzzzz help meeee

Posted by shahmalik on 18 March 2012 - 05:39 AM in Java

Write a program to maintain result for data structures course. Result is to be maintained as a linked list. Here are the functions that your program should offer (They should be the options in your MENU):
- Add : Accept reg_no and marks from user. Create an entry with the corresponding values and insert it in the linked list. Make sure entry is inserted at the correct position as the list is sorted.

- Find : Take reg_no from user, If record is found display marks of student. If record is not found display a message "not found".

- Delete : Delete the entry of the result corresponding to the reg_no. If no such reg_no exists, print a message indicating “record not found”.

- Display: Display the contents of linked list.

- Exit

You will need to define a class for an entry in the result containing a pointer to the next entry.
class entry {
int reg_no;
int marks;
entry * next ;
}

---------- Post added at 06:34 PM ---------- Previous post was at 06:33 PM ----------

plzzzz plzzzz help me out i dnt know how i implement entry in linklist

---------- Post added at 06:36 PM ---------- Previous post was at 06:34 PM ----------

plzzzz plzzzz help me out i dnt know how i implement entry in linklist

---------- Post added at 06:39 PM ---------- Previous post was at 06:36 PM ----------

i submit it tomarrow plzzz help me




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download