Question
I need help with the code in Visual basic This program simulates a POS (Point of Sale) system for an Asian Restaurant. The customer chooses
I need help with the code in Visual basic This program simulates a POS (Point of Sale) system for an Asian Restaurant. The customer chooses their Entre (Main Dish) and optionally a Starter course and a beverage. The program will compute the order total. The program also keeps a running total of all orders which have been entered. Notice how the buttons and group boxes are enabled and disabled in order to control which features the user can use at any time. For example, until the user selects an Entre, the Starter and Beverage choices are disabled. The Clear Order button unchecks the radio buttons and check boxes, deselects the beverage and clears the Cost of Order (Subtotal, Tax, Total) but DOES NOT clear the Running Total. In order to manage adding the selected beverage price to the total it is useful to use the technique in which a second list box off-screen is used to hold the matching prices. Please replace Your Names Restaurant with your name. . The Add a New Beverage button is Extra Credit. If you decide to implement it you can increase your score by up to 10%. The check buttons are egg rolls(1.50) spring roll(2.00) soup(2.50) crab delite(2.50) these are in a text box labeled starters. The radio buttons are sweet and sour chicken(8.00) beef and peapods (8.50) chicken chasew (8.00) shrimp fried rice(7.50) egg foo yong(7.00) theses are in a text box labeled main dish the beverages are in a list box and include tea (2.00) coffee (2.00) soft drinks (2.50) tsing tao (4.00) The tax is 5.6%
Your Name's Restaurant Starters Egg Roll $1.50 Spring Roll $2.00 Soup $2.50 Main Dish: Cost of Order Sweet & Sour Chkn $8.00 Beef & PeaPods $8.50 Chicken Cashew $8.00 Subtotal Tax 5.6% Total Running Total Crab Delite $2.50Shrimp Fried Rice $7.50 Beverage: Tea $2.00 Coffee $2.00 Soft Drinks $2.50 Tsing Tao $4.00 Crab Delite $2.50 Egg Foo Yong ($7.00) Calculate Totals Clear Order Add New Beverage Subtotal Tax 5.6% Total ExitStep 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