Hello everyone i know very little of Java and need help with a project. If anyone could send some code or even help explain where i should start i would very much appreciate it. This is what the teacher gave us for the project outline on what the code should contain.
o Store
o Products (3 classes)
Attributes
• Price
• Description
• UPC
• Inventory
• Taxable(y/n)
Methods
• Purchase(qty)
o Return price
o Decrement inventory
• Getprice
• Getdescription
• Getupc
• Getquantity
• getTaxStatus
o CashRegister (Shopping Cart)
Static TAX_RATE=1.06
Static Class
Methods
• calculateTotal
• enter payment (dollar/cents)
• give change
o Currency
Static variables of currency and coin
o Main Class
Add items
Enter purchase
Enter payment
00musdan
0
Newbie Poster
Recommended Answers
All 4 Replies
Dukane
00musdan
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
00musdan
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.