Question
For assignment 2 we are going to take the 4 controls we have discussed in the notes and using some code behind are going to
For assignment 2 we are going to take the 4 controls we have discussed in the notes and using some code behind are going to make a functional page. You are going to create a purchase page for Tomas Tea Emporium(Remember make this page look nice yet functional)
For this assignment, the customer has already decided on a large coffee at a base price of $4.29 (2 things about this 1 display that they will be charged the base price, 2 you need to add this when doing calculations).
For the tea 4 options can be selected from. You will use checkboxes to select them.
Small size it-subtract $0.50,
Large size it add $0.50
Upgrade to condensed milk-$0.50,
Upgrade to Earl Grey-$1.00.
You are also going to give the user 2 text boxes.
The first one is going to be for how many Biscotti are required. They are $2 each (set the default text to 0)
The 2ndis going to be the number of chocolate chip cookies wanted at $2.99 each (set the default text to 0again)
Create anASP.NET webpage that will display the above information and allows the user to enter the required data
The page/program should compute the subtotal for the sale, the tax due (9.5%), and the grand total for the visit. All of the items just mentioned should then be displayed in text boxes with labels. The format should resemble a bill or statement.
A Calculate button must be used to allow the user to do the necessary computations and output the results to the page.
A Clear button must be used to allow the page to be reset (clears all the fields) in preparation for accepting new values
For assignment 2 we are going to take the 4 controls we have discussed in the notes and using some code behind are going to make a functional page. You are going to create a purchase page for Tomas' Tea Emporium (Remember make this page look nice - yet functional) For this assignment the customer has already decided on a large coffee at a base price of $4.29 (2 things about this - 1 display that they will be charged the base price, 2 you need to add this when doing calculations). For the tea there are 4 options that can be selected from. You will use check boxes to select them. Small size it - subtract $0.50, Large size it - add $0.50 Upgrade to condensed milk - $0.50, Upgrade to Earl Grey - $1.00. You are also going to give the user 2 text boxes. The first one is going to be for how many Biscotti are required. They are $2 each (set the default text to 0) The 2nd is going to be the number of chocolate chip cookies wanted at $2.99 each (set the default text to ( again) Create an ASP.NET web page that will display the above information and allows the user to enter the required data The page/program should compute the subtotal for the sale, the tax due (9.5%), and the grand total for the visit. All of the items just mentioned should then be displayed in text boxes with labels. The format should resemble a bill or statement. A Calculate button must be used to allow the user to do the necessary computations and output the results to the page. A Clear button must be used to allow the page to be reset (clears all the fields) in preparation for accepting new values
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started