Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Logic In Databases International Workshop Lid 96 San Miniato Italy July 1 2 1996 Proceedings Lncs 1154

Authors: Dino Pedreschi ,Carlo Zaniolo

1st Edition

3540618147, 978-3540618140

More Books

Students also viewed these Databases questions

Question

6. What is the value of poise over perfection?

Answered: 1 week ago

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago