Write a program to calculate the total cost of ordering a pizza 1. You can build...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program to calculate the total cost of ordering a pizza 1. You can build a form where a pizza order can be entered by simply clicking on check boxes and option buttons. 2. Draw three frames. In the first, draw three option buttons, in the second, draw two option buttons, and in the third, draw six check boxes. Draw two option buttons on the form. Add two command buttons. Make things look something like this. Formt Fanet COptiont Frame Checkt Check4 C Upton C Optiond Chec2 Check5 Check3 CCheck Fiane2 CUpton CDuton Command Command2 3. Set the properties of the form and each control. Pizza Orden Size C Small Toppings Extre Cheese Orions C Medum Mushioome Gieen Peppers CLape Llack Dives Tomstoes Crust Type C Thin Ciust CThick Cet Ruld Peza Egt 4. Calculate the total cost of the order according to the following charges: • Size: Small $2, Medium $4, Large $6. Toppings: Extra Cheese $0.5, Mushrooms $0.4, Black Olives $0.3, Onions S0.2, Green Peppers $0.2, Tomatoes $0.1. • Eat In $1.5. 5. Modify the form to display the charges beside each one of the options. 6 Display the total cost in a message. Write a program to calculate the total cost of ordering a pizza 1. You can build a form where a pizza order can be entered by simply clicking on check boxes and option buttons. 2. Draw three frames. In the first, draw three option buttons, in the second, draw two option buttons, and in the third, draw six check boxes. Draw two option buttons on the form. Add two command buttons. Make things look something like this. Formt Fanet COptiont Frame Checkt Check4 C Upton C Optiond Chec2 Check5 Check3 CCheck Fiane2 CUpton CDuton Command Command2 3. Set the properties of the form and each control. Pizza Orden Size C Small Toppings Extre Cheese Orions C Medum Mushioome Gieen Peppers CLape Llack Dives Tomstoes Crust Type C Thin Ciust CThick Cet Ruld Peza Egt 4. Calculate the total cost of the order according to the following charges: • Size: Small $2, Medium $4, Large $6. Toppings: Extra Cheese $0.5, Mushrooms $0.4, Black Olives $0.3, Onions S0.2, Green Peppers $0.2, Tomatoes $0.1. • Eat In $1.5. 5. Modify the form to display the charges beside each one of the options. 6 Display the total cost in a message.
Expert Answer:
Answer rating: 100% (QA)
In this program i created a normal page and dividing into sub frame to give multiple actions like total cost and exit functioning to the program If yo... View the full answer
Related Book For
Elementary Statistics
ISBN: 978-0538733502
11th edition
Authors: Robert R. Johnson, Patricia J. Kuby
Posted Date:
Students also viewed these programming questions
-
A manager would like to know the total cost of a chase strategy that matches the forecast below using a steady regular production rate of 200 units a month, a maximum of 20 units per month of...
-
Write a program to print Hello World 25 times without writing a single line in the main function except system(pause).
-
The following table shows the total cost of producing various quantities of shoehorns and the total value of those shoehorns to consumers. What are the price and quantity produced if the shoehorn...
-
On January 18, 2021, Marigold Co. paid $450,000 for a three-year insurance policy that covers February 1, 2021 through January 31, 2024. Marigold's year end is June 30, 2021. Assuming she records the...
-
The table summarizes responses of 4383 subjects in a recent General Social Survey to the question, Within the past month, how many people have you known personally that were victims of homicide?...
-
A sociologist wishes to estimate the average number of automobile thefts in a large city per day within 2 automobiles. He wishes to be \(99 \%\) confident, and from a previous study the standard...
-
A blood pressure measurement consists of two numbers: the systolic pressure, which is the maximum pressure taken when the heart is contracting, and the diastolic pressure, which is the minimum...
-
Two soft-drink producers, York Cola and Reno Cola, secretly collude to fix prices. Each firm must decide whether to abide by the agreement or to cheat on it. The payoff matrix is as follows: a. What...
-
Company issued bond with par value $509240, coupon rate of 10%, 10-year term. Bonds were issued at 105. Interest is payable annually, and the straight-line method is used for amortization. Assume...
-
Laurman, Inc. is considering a new project and has provided the details of the project. The Controller has asked you to compute various capital budgeting methods to help aid in the decision to pursue...
-
(a) Draw the clock circuit of astable mode using a 555 timer. (10 Marks) (b) If the value of the timing components are normalized, RA=RB=10 and CA=1F Compute the following: (i) Mark-to-space ratio...
-
A researcher wants to see if U.S. News & World Report rankings influence the number of applications received by colleges and universities. He obtains the unadjusted data shown in Table 1.17 on...
-
Assume that your data analytics examination related to voids and voided sales at a large retail location for the period of December 1 through 30 resulted in the following summary table. Also assume...
-
Use the data in Tables 1.9 and 1.10 to determine the a. 1980 wage in 2000 dollars. b. Percentage change in real wages between 1980 and 2000. Table 1.9: Consumer Price Index (CPI = 100 in 1967) 1970...
-
Use the data in Tables 1.9 and 1.10 to determine the a. 1970 wage in 2010 dollars. b. Percentage change in real wages between 1970 and 2010. Table 1.9: Consumer Price Index (CPI = 100 in 1967) 1970...
-
Answer the questions in Exercise 1.17, this time assuming that the quantities purchased are 12 loaves of bread, 6 pounds of meat, and 2 gallons of milk. Exercise 1.17 Table 1.15 shows the prices of...
-
2. A point charge Q is on the axis of a short cylinder at its center. The diameter of the cylinder is equal to its length. What is the total flux through the curved sides of the cylinder? Ro l=2Ro
-
Evaluate the line integral, where C is the given curve. C x 2 dx + y 2 dy, C consists of the arc of the circle x 2 + y 2 = 4 from (2, 0) to (0, 2) followed by the line segment from (0, 2) to (4, 3)
-
National Coffee Dr-inking Trends is the publication in the coffee industry. Each year it tracks consumption patterns in a wide variety of situations and categories and has done so for over five...
-
Use a computer (or a random number table) to simulate 200 trials of the experiment described in Exercise 4.31: the tossing of a penny and the rolling of a die. Let 1 = H and 2 =T for the penny, and...
-
The summation(x ) is always zero. Why? Think back to the definition of the mean (p. 63) and see if you can justify this statement.
-
An air-conditioning chiller unit weighing \(10 \mathrm{kN}\) is to be supported by four air springs (Fig. 2.50). Design the air springs such that the natural frequency of vibration of the unit lies...
-
The maximum velocity attained by the mass of a simple harmonic oscillator is \(10 \mathrm{~cm} / \mathrm{s}\), and the period of oscillation is \(2 \mathrm{~s}\). If the mass is released with an...
-
A helical spring, when fixed at one end and loaded at the other, requires a force of \(100 \mathrm{~N}\) to produce an elongation of \(10 \mathrm{~mm}\). The ends of the spring are now rigidly fixed,...
Study smarter with the SolutionInn App