Answered step by step
Verified Expert Solution
Question
1 Approved Answer
inventory.txt 6 Tweny Thousand Leagues Under the Sea Jules Verne 20.99 10 A Tale of Two Cities Charles Dickens 15.99 15 The House of the
inventory.txt
6
Tweny Thousand Leagues Under the Sea
Jules Verne
20.99
10
A Tale of Two Cities
Charles Dickens
15.99
15
The House of the Seven Gables
Nathaniel Hawthorne
12.99
13
Around the World in 80 Days
Jules Verne
11.99
3
Flatland: A Romance of Many Dimensions
Edwin Abbott
8.99
18
Alice in Wonderland
Lewis Carroll
14.99
11
CODE SHOULD BE IN C++
The purpose of this project is to work will pointers and dynamic memory. The project will be an app for customers to buy books from a bookstore's website. A customer can add books to a shopping cart and remove them too. A customer gets a discount of 905 for every 5 books they buy. The user chooses books from a catalog of books that are stored in a file When the program ends, it prints the total amount paid for the books plus how much the customer saved. What To Code The book list will be in a file called 'inventory.txt The format will be in this order: counts etitle1> cauthor1>
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