Write a C++ program to implement linked list data structure. In this problem every node should have
Question:
Write a C++ program to implement linked list data structure. In this problem every node should have two data elements called name and course of a student and a pointer to link the current node to the next node. Your program should prompt the user to enter name and course code of a student and save it into a Node (Student). User can enter the records of multiple students. So you need to create a linked list of students. One node of list will represent one student.
Instead of saving the name of course you should use code of course into Student node. This will help you save lots of memory. "short int type variable can be usecd to save code of course which will take two bytes while name of course will take mainy bytes. This technique will help you save lots of memory.
Use the following course names and codes while entering the record of a student.
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall