Question
Create an order entry screen program in C# to give a total for an individual pizza order. The Pizza order should have radio buttons for
Create an order entry screen program in C# to give a total for an individual pizza order. The Pizza order should have radio buttons for small $7, medium $9, and large $12 choices for the pizza. There should be a checkbox for drink (where a drink is $2 added if it is checked and nothing added if it is not checked. Include a textbox for the customers name.
Have a button to calculate the subtotal (pizza choice and whether there is a drink or not on the order), tax (.07 of the subtotal) and the total (subtotal plus tax). Put these calculated values into labels on the screen for the user. Also have another label show a message to show the customers pizza is ready with their name from the textbox.
Include a button to clear the order, it should clear the textbox, set the radio buttons back to having the large one selected, the checkbox for the drink should be unchecked, and textbox and the message label should be cleared.
Make sure to rename the buttons and the output labels, they should not be named button1, label1, they should have descriptive names as will be discussed in class
Add 3 comboboxes for toppings choices or one Checked Listbox (it is up to you but the business rule is the customer can have up to 3 additional toppings) for this. Include 5 or so reasonable choices for the toppings to be shown. For each one the user selects $1.5 should be added to the subtotal when the order is calculated.
Example: The user selects a medium pizza, no drink, and pulls down and selects Pepperoni and Extra Cheese and doesnt select a third extra topping. Their subtotal should be $12.
Make the Calculate button to be the Accept button so the order is calculated if the user presses Enter.
Make the Clear button the Cancel button so the order is cleared when the user presses the Esc key.
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