Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Classes you need to import .. please check them . Program Description: This assignment will give you practice writing Java classes to a providedW API

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Classes you need to import .. please check them . image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Program Description: This assignment will give you practice writing Java classes to a providedW API and using Collections. You are to write a set of supporting classes for a simple shopping cart. The instructor has provided the Graphical User Interface (GUI) that will provide the "front end" or "view" to yourJava Rules button, So.75(10 for $5.001 program. You are to write the back end (what is often referred to as the Java Rutesr bumper sticker, $1.20 (10 for $10.00) "domain specific code" or the "model") order total $1,324.50 4 Silly Putty, $4.50 (3 for $10.00) Computer science pen, $2.00 Here is a screen shot of what the program could look like when the user has selected various items to order (note that the exact appearance may be platform dependent) 1 Rubik's Cube, $10.00 Mp3, Mp4, FM Music Player, $20.00 Arduino Uno Ultimate Starter Kit, $55.00 LEGO Mindstorms EV3, $350.00 Xbox One, $399.00 Play Station 4, $399.00 Prices are expressed as real numbers and quantities are expressed as integers (i.e., you can't buy 2.345 units of something). Notice that some of the items have a discount when you buy more. For example, Silly Putty normally costs S4.50 per unit, but you can buy 3 for $10.00. These 6lnch Plasma HDTV, 51.300.00 items have, in effect, two prices: a single item price and a bulk item price for a bulk quantity. When computing the total with the bulk item discount, apply as many of the bulk quantity as you can and then use the single item price for any leftovers. For example, the user is ordering 12 buttons that cost $0.75 each but can be bought in bulk at 10 for $5.00. The first 10 are sold at that bulk price (S5.00) and the two extras are charged at the single item price ($0.75 each) for a total of $6.50. If the user were ordering 22 buttons, the total would be $11.50 (two bulk quantities plus two extras) Clear customer has store membership Program Description: This assignment will give you practice writing Java classes to a providedW API and using Collections. You are to write a set of supporting classes for a simple shopping cart. The instructor has provided the Graphical User Interface (GUI) that will provide the "front end" or "view" to yourJava Rules button, So.75(10 for $5.001 program. You are to write the back end (what is often referred to as the Java Rutesr bumper sticker, $1.20 (10 for $10.00) "domain specific code" or the "model") order total $1,324.50 4 Silly Putty, $4.50 (3 for $10.00) Computer science pen, $2.00 Here is a screen shot of what the program could look like when the user has selected various items to order (note that the exact appearance may be platform dependent) 1 Rubik's Cube, $10.00 Mp3, Mp4, FM Music Player, $20.00 Arduino Uno Ultimate Starter Kit, $55.00 LEGO Mindstorms EV3, $350.00 Xbox One, $399.00 Play Station 4, $399.00 Prices are expressed as real numbers and quantities are expressed as integers (i.e., you can't buy 2.345 units of something). Notice that some of the items have a discount when you buy more. For example, Silly Putty normally costs S4.50 per unit, but you can buy 3 for $10.00. These 6lnch Plasma HDTV, 51.300.00 items have, in effect, two prices: a single item price and a bulk item price for a bulk quantity. When computing the total with the bulk item discount, apply as many of the bulk quantity as you can and then use the single item price for any leftovers. For example, the user is ordering 12 buttons that cost $0.75 each but can be bought in bulk at 10 for $5.00. The first 10 are sold at that bulk price (S5.00) and the two extras are charged at the single item price ($0.75 each) for a total of $6.50. If the user were ordering 22 buttons, the total would be $11.50 (two bulk quantities plus two extras) Clear customer has store membership

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

More Books

Students also viewed these Databases questions

Question

Define the present value of a single amount.

Answered: 1 week ago