CS301 Assignment 1 solution Spring 2017

Problem Statement:                                                                                                                               

Write a C++ program which implements a Simple Single Link List to keep the record of Students.

The program should contain an Add operation to add new node/record of student in Linked List. Each record/node of the list contains Student ID and Name. The new node/record can be added at the beginning or end of Linked List.

You also need to include Search operation in the Linked List. The search operation takes Student ID as an input and searches the entire Linked List to determine whether a student record against the provided Student ID exists or not. If the record for the given Student ID exists in given list then display Student ID and Name. If the record does not exist then display message “Student does not exist”.

The output of the program should look like the screenshots attached below:

Solution :

Click here to download solution now CS402 assignment 1 solution final

DOWNLOAD SOLUTION HERE
loading...