Pizza Builder using c# in vistual studio 2022
Budget: $30 – $250 USD
You will create a simple program that allows a user to build a pizza, submit the pizza order, and display the total cost of the order including tax and tip.
1. The pizza builder form needs controls to allow the user to enter the customer’s information (name, phone, address, etc…), build a pizza, and submit the order.
a) Add form controls for the user to enter their name, phone number, and address information.
b) Add a drop-down box or radio button group to allow the customer to select delivery or pickup.
c) Add a drop-down box or radio button group to allow the customer to select the size of the pizza (small, medium, large, extra-large).
d) Add form controls that allow the customer to make selections and customize their pizza.
i. Selection for the regular crust, stuffed crust, deep dish, thin crust, or cheesy garlic butter crust.
ii. Selection for sauce (tomato, white, pesto, etc)
iii. Checkboxes for toppings like pepperoni, sausage, bacon, ham, onions, peppers, etc… The checkboxes will allow the customer to choose as many as they like.
iv. Checkboxes premium additions like extra cheese, extra meat, etc… The checkboxes will allow the customer to choose as many as they like.
v. Option to tip the staff. The tip will get added to the total cost of the order during server-side processing. Use a textbox to allow the customer to enter a numerical value for the tip. A blank textbox would signify the customer is not including a tip.
vi. Provide at least 10 choices for each of the above categories.
vii. You need to assign costs for all pizza size selections, toppings, crust types, and sauces. The cost of the pizza will be based on the user’s selections and the costs for each selection.
viii. You must use a mixture of drop-down boxes, radio button groups, and checkboxes to allow the user to build their customized pizza order. This means you cannot use a drop-down box for everything.
b) Add a button to allow the user to submit the order. This button should redirect the user to the order confirmation form that will display the receipt of the transaction.
2. The program will require at least 3 classes: Pizza, Customer, and Order. The Pizza class represents a single pizza that was built by the customer based on the selections made from the Form (GUI). This class should contain fields that represent the attributes of the pizza, constructors, and properties to get/set the fields in the class. The Customer class represents the person that made the order. This Customer class should contain fields that represent the important attributes of a customer, constructors, and properties to get/set the fields of the class. The Order class will store information related to the order like the date and time the order was placed, the Customer who placed the order, and a Pizza the custom build. The Order class will be responsible for calculating the cost of the order. These classes should be written in a separate class file from the Form’s class file. The Order class should have methods to store a customer, store the pizza, start a new order, calculate the cost of the order, and any other necessary operations. Finally, I want you to think about where to store and access the costs for selections like size, toppings, etc…; these costs should not be defined in the Form class related to the GUI.
1. The pizza builder form needs controls to allow the user to enter the customer’s information (name, phone, address, etc…), build a pizza, and submit the order.
a) Add form controls for the user to enter their name, phone number, and address information.
b) Add a drop-down box or radio button group to allow the customer to select delivery or pickup.
c) Add a drop-down box or radio button group to allow the customer to select the size of the pizza (small, medium, large, extra-large).
d) Add form controls that allow the customer to make selections and customize their pizza.
i. Selection for the regular crust, stuffed crust, deep dish, thin crust, or cheesy garlic butter crust.
ii. Selection for sauce (tomato, white, pesto, etc)
iii. Checkboxes for toppings like pepperoni, sausage, bacon, ham, onions, peppers, etc… The checkboxes will allow the customer to choose as many as they like.
iv. Checkboxes premium additions like extra cheese, extra meat, etc… The checkboxes will allow the customer to choose as many as they like.
v. Option to tip the staff. The tip will get added to the total cost of the order during server-side processing. Use a textbox to allow the customer to enter a numerical value for the tip. A blank textbox would signify the customer is not including a tip.
vi. Provide at least 10 choices for each of the above categories.
vii. You need to assign costs for all pizza size selections, toppings, crust types, and sauces. The cost of the pizza will be based on the user’s selections and the costs for each selection.
viii. You must use a mixture of drop-down boxes, radio button groups, and checkboxes to allow the user to build their customized pizza order. This means you cannot use a drop-down box for everything.
b) Add a button to allow the user to submit the order. This button should redirect the user to the order confirmation form that will display the receipt of the transaction.
2. The program will require at least 3 classes: Pizza, Customer, and Order. The Pizza class represents a single pizza that was built by the customer based on the selections made from the Form (GUI). This class should contain fields that represent the attributes of the pizza, constructors, and properties to get/set the fields in the class. The Customer class represents the person that made the order. This Customer class should contain fields that represent the important attributes of a customer, constructors, and properties to get/set the fields of the class. The Order class will store information related to the order like the date and time the order was placed, the Customer who placed the order, and a Pizza the custom build. The Order class will be responsible for calculating the cost of the order. These classes should be written in a separate class file from the Form’s class file. The Order class should have methods to store a customer, store the pizza, start a new order, calculate the cost of the order, and any other necessary operations. Finally, I want you to think about where to store and access the costs for selections like size, toppings, etc…; these costs should not be defined in the Form class related to the GUI.