Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Write a Java program to simulate an online shopping cart.

aldos7
aldos7 


Instructions are in the word document. The file CartItem.java is already complete. Pretty much all of the work needs to be done in the shopping.java file, however you do need both files open in order for it to work. Thanks for your help ! Attachments Tags Clarifications

Answers

Shopping Cart Solution

mariobeka
mariobeka 



Below you'll find the completed Shopping.java file and the CartItem.java file. Attachments
Shopping.java (4 K) Download Preview
the following: * Create the shopping cart object * Offer a menu of options: * 1 add an item to your cart * 2 remove an item from your cart * 3 view the items in your cart * 4 end shopping and go to checkout * 5 empty your

CartItem.java (1 K) Download Preview
inProduct; quantity = inQuant; price = inPrice; } //getter setter public methods for each instance data public String getProduct() { return product; } public int getQuantity() { return quantity; } public double getPrice() { return

Screenshots
Purchase Answer