Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C++ program that creates a linked list of students records. Page 1 of 1 Copyright 2014, Dennis Raney HW#4b-write a program that creates
Write a C++ program that creates a linked list of students records.
Page 1 of 1 Copyright 2014, Dennis Raney HW#4b-write a program that creates a linked list of Student Records. Write a program that implements a linked list of Students Description: Create a linked list of Students. - Each node in the list is a struct Student object. - Define a struct Student with these data members: id (integer (e string size 30) address (c string size 30) city (c string size 30) state (c_string size 30) c string size 30) (c string size 30) gpa next (Student pointer) - The program should prompt the user to enter student records, (See Output) - The program should then ask the user if he or she wishes to see the list of students, and display them if the user's response is yes o The screen should clear before displaying the list. - The program should allow the user to run it repeatedly /OUTPUT Enter a student record (-1 to quit): -- Screen Clears ID# : Name: Address: city: State: zip: GPA: 101 Pamela Lee 200 EIm Street Santa Ana CA 94321 ID: 100 Name: Tom Lee Address: 100 Main Street City: Anaheim State: CA 2ip: 91234 ID# : Name: Address: city: State: Zip: GPA: 100 Tom Lee 100 Main Street Anaheim CA 91234 3.30 GPA: 3.3 ID: 101 Name: Pamela Lee Address 200 Elm Street City: Santa Ana State: CA Zip: 94321 GPA: 4.0 Do again Y/N? N ID: -1 Display all records Y/N? Y
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started