Question: Use programming Language Visual C#(C# similar in syntax to Java) Artichokes, carrots and beets are being bought by weight in pounds. each has per pound

Use programming Language Visual C#(C# similar in syntax to Java)

Artichokes, carrots and beets are being bought by weight in pounds.

each has per pound price: 2.67$, 1.49$, and .67$ respectively.

Input specifies pounds ordered of each. ( for example, 2, 3 and 4 pounds respectively for artichokes, carrots and beets could be the inputs)

Orders that total to above 100$ gets 5% discount before shipping charges are applied.

Shipping cost is based on total weight of all three items.

shipping is 3.50$ for 5 pounds or below, 10$ for 20 pounds or below, [example: 10 pound weight: shipping is 10$. 4 pounds weight: 3.5$. These are not rates, it is a flat rate for each of these two tiers.]

9.5$ plus 10c per pound, for weights above 20 pounds. (so we have : two flat rates and one variable rate)

(if weight was 21 pounds, 11.6$ would be the shipping cost. 10 c per pound applies to total weight, not just the excess weight above 20)

Display cost, shipping charge, total cost. (for the order, not for each produce)

Cost means price; Total cost means price plus shipping cost.

(this problem does not involve any complex logic. it is a straightforward calculation)

Interface: User needs to enter three different weights for the three items of produce, and app needs to display three different values.

You can choose the mechanisms used for displaying results. Dollar figures should be displayed as dollar figures, and displayed results should be informative.

Any part of the interface that is left unspecified is left to your choice.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!