Please create using C# A restaurant offers a $10 discount if the total amount is at least $40. If the amount is less than $40, a $5 discount is given if the customer has a coupon and the amount is at least $20. If the amount is less than $20, the coupon gives a 10% discount. Write an if statement, assume that the variables are declared as follows: float amount = 15.0F; float discount; bool coupon = true; 1. Create a text box for Total Amount of Check 2. Add a Check Box to indicate that a coupon has been submitted 3. Labels for the two above, plus two labels for the Amount Due (one saying' 4. Amount Due, and one showing the amount due in currency) 5. Calculate and Clear Buttons
Please create using C#
A restaurant offers a $10 discount if the total amount is at least $40. If the amount is less than $40, a $5 discount is given if the customer has a coupon and the amount is at least $20. If the amount is less than $20, the coupon gives a 10% discount. Write an if statement, assume that the variables are declared as follows:
float amount = 15.0F;
float discount;
bool coupon = true;
1. Create a text box for Total Amount of Check
2. Add a Check Box to indicate that a coupon has been submitted
3. Labels for the two above, plus two labels for the Amount Due (one saying'
4. Amount Due, and one showing the amount due in currency)
5. Calculate and Clear Buttons

Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images









