Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

XXXXXXXXXXXXXX Write a Java program that implements a shopping system like Amazon. Your program should be structured as follows. - The user should select what

XXXXXXXXXXXXXX

"Write a Java program that implements a shopping system like Amazon. Your program should be structured as follows. - The user should select what department s/he wants to shop from. You may have as many departments as you wish, but at the very minimum, you should have: Health & Household, Books, Home & Kitchen, and Electronics. Each department should have a list of items (at least four) the buyer can choose from. For example, the electronics department may have Cell Phones & Accessories, TV & Video, Amazon Devices, and Headphones. When the buyer wants to buy headphones for example, they may choose Over-ear, On-ear, in-ear, and so forth. - The user must buy at least two items from each department. - Each item must have the cost ($ value). It is up to you to decide how much each item costs. The costs should be realistic. Visit Amazon.com or your favorite shopping website to get the costs. - After the user has selected all the items s/he wants to buy, your program should prompt the user to enter his/her name, credit card number, billing address, and shipping address. The credit card number must be entered in this format xxxx xxxx xxxx xxxx. The user must also enter the date the credit card is valid until in this format MM/YY. Finally, the user must enter a three-digit verification code for the credit card. - When the user has finished shopping, your program will calculate the total cost of the items bought. - A sample run of your program should look like: Jane Doe, Thank You for Shopping with (insert name of company). Your items are iPad Pro: $75.15; Dell Inspiron i3531 $279.99; Womens Cuffed Long Sleeve Blouse $22.99; Adidas Soccer Cleat $63.71. Your total cost is: $ Your items will arrive in x days at your address: 2801 West Bancroft Street, Toledo, OH 43606"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago