Please create using C#. Create a form, name this form: QuantityDiscount Add a label and a text box that will ask: Quantity Purchased Add a button, name this button btnAmountDue2, change the text to Amount Due2 Add a Total Due label (stating Total Due) and a Results Label actually showing the actual amount due Each item purchased will cost 5.00 (create a constant)  You will need a series of if’s or else if’s to complete these rules. If < 10 purchased there is no discount  For 10 to 14 purchased the discount is .05 For 15 to 19 purchased the discount is .10 For 20 or greater the discount is .15

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter13: Handling Events
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

Please create using C#.

Create a form, name this form: QuantityDiscount
Add a label and a text box that will ask: Quantity Purchased
Add a button, name this button btnAmountDue2, change the text to Amount
Due2
Add a Total Due label (stating Total Due) and a Results Label actually
showing the actual amount due
Each item purchased will cost 5.00 (create a constant)
 You will need a series of if’s or else if’s to complete these rules.
If < 10 purchased there is no discount
 For 10 to 14 purchased the discount is .05
For 15 to 19 purchased the discount is .10
For 20 or greater the discount is .15

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning