Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(c++) This program is to keep track of customers who owe your company money. The data and each node should contain the customers name and
(c++) This program is to keep track of customers who owe your company money. The data and each node should contain the customers name and the amount owed.
Data should be stored in a circular linked list. Your program should be able to create a list, add a customer to the list in sorted order by customerName, delete a customer from the list, output a display of the list, store the current updated list to a file and import a list from a file(data.txt). Lastly, the program should be able to list all customer who owe $50 or more.
The program should also have a try/throw exception handler. The handler should activate if a customer owed amount is a negative value.
The data.txt contains: JerryJones 400 MiraMartin -55.02 HarryTuna 302.6 RalphRobotics 402.2 KFC Abc Catapillar 300.10 Kaiser 1322.12 Dell 721.80 RelaysCo 159.0 Goupon 385. Gimini -65 Safeway 49.5
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