Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. (30 points) In a new C++ program, and using the same CarRecords.txt input file, implement the tasks below for a linked list of car
3. (30 points) In a new C++ program, and using the same "CarRecords.txt" input file, implement the tasks below for a linked list of car records. Create a linked list node with the car fields and a pointer. Provide a similar menu as the one used above with the necessary modifications to reflect the tasks below. Do not use arrays at any point in this program. Your linked list should be created in the main function and passed to other functions. It should not be global! a.) Provide a function insert_linkedList() that reads the 10 records from the file into a linked list. b.) Provide a function print_cars_list() that prints out the car records in the linked list. Note: The above functions can have arguments and return types as you see fit. CarRecords - Notepad File Edit Format View Help Subaru, Outback, 2016, green Toyota, Corolla, 2006, white Dodge, Neon, 1993, pink Ford, Fusion, 2013, yellow Honda, Fit, 2015, blue Ford, Expedition, 2009, silver Toyota, Corolla, 2006, white Ford, Fusion, 2013, yellow Jeep, Cherokee, 1999, red Mazda, Protoge, 1996, gold
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