Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago