Question

Hello, please help me to answer my assignment, i highly appreciate your effort, kindly explain it clearly.
Kindly put your codes in (NOTEPAD).

Thank you very much.


Write a VB application that will facilitate a pizza order.

1.The user interface should have a form containing all components pertaining to pizza order presented in either option buttons or check boxes.
2.Controls must also be grouped in frames according to size, toppings, or crust type.
3.The summary of order must be presented in a message box when the Build pizza button is clicked. Use the OkRetry button on this message box. When Ok is clicked, the control must simply go back to the form whereas when Retry is clicked, all choices must be cleared so that new entries may be facilitated.
4.Upon clicking the Exit button, ask the user if he is sure he would exit the program by using a YesNo message box. When No button has been chosen, simply go back to the form, whereas when Yes button is clicked, go back to the program (equivalent to end).

*Please taken note of the tab order of the controls


-Pizza Order Size r Toppings Small O Medium C Large 「Extra Cheese -Mushrooms 「Black Olives 「Onion$ Г Green Peppers 「Tomatoes Crust Type Thin Crust C Thick Crust . Eat In C Take Out. . . . Build Pizza Exit

0 0
Add a comment Improve this question Transcribed image text
Answer #1

code

Public Class Form1

Private Sub btnBuildPizza_Click(sender As Object, e As EventArgs) Handles btnBuildPizza.Click
Dim size, crustType, takeType, toppings As String
Dim flag As Integer = 1
toppings = ""
If RdbLarge.Checked = True Then
size = RdbLarge.Text
ElseIf rdbMedium.Checked = True Then
size = rdbMedium.Text
ElseIf rdbSmall.Checked = True Then
size = rdbSmall.Text
Else
MessageBox.Show("Please select the Size")
flag = 0
End If

If rdbThick.Checked = True Then
crustType = rdbThick.Text
ElseIf rdbThin.Checked = True Then
crustType = rdbThin.Text
Else
MessageBox.Show("Please select the Crust type")
flag = 0
End If

code Public Class Form1 Private Sub btnBuildPizza_Click(sender As Object, e As EventArgs) Handles btnBuildPizza.Click Dim size, crustType, takeType, toppings As String Dim flag As Integer 1 toppings - If RdbLarge·Checked = True Then size RdbLarge.Text Elself rdbMedium·Checked = True Then sizerdbMedium.Text Elself rdbSmall.Checked True Then size = rdbSmall. Text Else MessageBox.Show(Please select the Size) flag 0 End If If rdbThick.Checked True Then crustType rdbThick.Text Elself rdbThin.Checked True Then crustType rdbThin.Text Else MessageBox.Show(Please select the Crust type flag 0 End If If chbCheez.Checked True Thern toppings+ chbCheez.Text, End If If chbMushrooms.Checked True Then toppings+chbMushrooms.Text+ End If If chbOlives.Checked True Ther toppings chbOlives.Text End If If chbOnions.Checked True Then toppings+ chbOnions.Text+

Add a comment
Know the answer?
Add Answer to:
Hello, please help me to answer my assignment, i highly appreciate your effort, kindly explain it...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please create the following pizza order form. My form images are not needed but I can...

    Please create the following pizza order form. My form images are not needed but I can supply them for you. Please be creative with your form. Pizza Order FormCalculate Order Total Clear Order When the Calculate Order Total button has been clicked, do the following: Verify that the Customer Name and Phone Number are not blank. Display an appropriate message if either textbox is empty and place the cursor in the appropriate textbox. Verify that at least one Pizza Choice...

  • Hello can someone help me in my code I left it as comment  task #0, task#1, task#2a...

    Hello can someone help me in my code I left it as comment  task #0, task#1, task#2a and task#2b the things that I am missing I'm using java domain class public class Pizza { private String pizzaCustomerName; private int pizzaSize; // 10, 12, 14, or 16 inches in diameter private char handThinDeep; // 'H' or 'T' or 'D' for hand tossed, thin crust, or deep dish, respecitively private boolean cheeseTopping; private boolean pepperoniTopping; private boolean sausageTopping; private boolean onionTopping; private boolean...

  • Can somebody help me with this assignment. I will highly appreciate. Also, please display the output...

    Can somebody help me with this assignment. I will highly appreciate. Also, please display the output as well. I need to use JAVA to to write the program. This is the sample output provided by my professor. HOME WORK: due 09.17.2019 (Rational Numbers) Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. Use integer variables to represent the private instance variables of the class- the numerator and the denominator. Provide a constructor...

  • This is python3. Please help me out. Develop the following GUI interface to allow the user...

    This is python3. Please help me out. Develop the following GUI interface to allow the user to specify the number of rows and number of columns of cards to be shown to the user. Show default values 2 and 2 for number of rows and number of columns. The buttons "New Game" and "Turn Over" span two column-cells each. Fig 1. The GUI when the program first starts. When the user clicks the "New Game" button, the program will read...

  • Can someone please help me with this problem, I am new in this and I got no idea how to make it ?

    Must contain several methods to provide reading functions,performing calculations and posting the results.Main Main method for executing execution Method for reading data from the keyboard Method for performing calculations according to the problem request Method for posting resultsThe main method must contain at least:A menu for selecting the function (Reading data, Performing calculations, Posting ioutput, Exit the program) using the switch / case instruction.The menu must be included within a do / while cycle in order for the e functions...

  • C++ please Programming Assignment #6 Help Me Find The Secret Message Description: This assignment will require...

    C++ please Programming Assignment #6 Help Me Find The Secret Message Description: This assignment will require that you read in an encrypted message from a file, decode the message, and then output the message to a file. The encryption method being used on the file is called a shift cipher (Info Here). I will provide you with a sample encrypted message, the offset, and the decrypted message for testing. For this project I will provide you main.cpp, ShiftCipher.h, and ShiftCipher.cpp....

  • could you please help me with this problem, also I need a little text so I...

    could you please help me with this problem, also I need a little text so I can understand how you solved the problem? import java.io.File; import java.util.Scanner; /** * This program lists the files in a directory specified by * the user. The user is asked to type in a directory name. * If the name entered by the user is not a directory, a * message is printed and the program ends. */ public class DirectoryList { public static...

  • Hello, this is my code. moest of the things works but when select the price, i...

    Hello, this is my code. moest of the things works but when select the price, i just dont get my total. can someone help me out . thank you My queshion is also here The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit. Here are the requirements: The home page (i.e. the main page) should simply be the heading, image, and slogan of the site.  The home page should NOT...

  • Hello Guys. I need help with this its in java In this project you will implement...

    Hello Guys. I need help with this its in java In this project you will implement a Java program that will print several shapes and patterns according to uses input. This program will allow the use to select the type (say, rectangle, triangle, or diamond), the size and the fill character for a shape. All operations will be performed based on the user input which will respond to a dynamic menu that will be presented. Specifically, the menu will guide...

  • JAVA Hello I am trying to add a menu to my Java code if someone can...

    JAVA Hello I am trying to add a menu to my Java code if someone can help me I would really appreacite it thank you. I found a java menu code but I dont know how to incorporate it to my code this is the java menu code that i found. import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JCheckBoxMenuItem; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JRadioButtonMenuItem; public class MenuExp extends JFrame { public MenuExp() { setTitle("Menu Example");...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT