Question: write pseudocode for the following program. The program will make and modify a shopping cart for a customer (think amazon or any shopping
write pseudocode for the following program.
The program will make and modify a shopping cart for a customer (think amazon or any shopping site).
The application will allow the user to view and add items to their cart, along with the item's price. For example, the user may select to add an item to their cart and the application will ask for the name of the item and for the item's price (e.g. Apple, 1.25).
When the user is done adding items to their cart, he or she will then checkout. The checkout process will involve displaying the items and their prices, a subtotal, and total. The total will be calculated by multiplying the subtotal with a sales tax of 7.8% and adding the result back to the subtotal.
Write the program (pseudocode) from scratch, making sure to use the concepts we learned in class at least once.
- Input/output
- Display
- Variables
- Modules
- Decision structures
- Loops
- Arrays
Hints: Parallel array could be useful.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
