Question
You are going to create a shopping cart using C++ program. First, the program will ask users information (name, address, phone number). Then, display the
You are going to create a shopping cart using C++ program. First, the program will ask users information (name, address, phone number). Then, display the items menu: 1. Orange $1.00 each 2. Banana $0.40 each 3. Tomato $3.00 each 4. Grape $2.50 each 5. Pear $1.50 each 6. Lemon $0.50 each The program will let the user purchase different item with different quantities each time using loops (you can use any loop). Then, the program calculates the sub-total of each item (subtotal before tax, tax, and sub-total after tax), assume tax is 8.25%. At the end, print a receipt include users information, purchase items and sub-totals, and finally, the total price before tax, total tax, and total price after tax.
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