Ian's Pizza is a great place to eat, not just for the really good pizza sold by the slice, but for the toppings like Mac 'n Cheese, Chicken BBQ Pineapple and Philly Cheesesteak. Normally, they charge $3.75 per slice, regardless of the toppings, but if they started charging for mix-and-match toppings, they'd have a computer-solvable problem in figuring out the price of a pizza.
Create an application that calculates the cost of a single pizza. It should give a choice of regular ($12.00) or large ($15.00) size pizza, and have checkboxes for each topping. It should have a "Sale" button and a way to display the current total and the current order number.
When each CheckBox or RadioButton is clicked, the displayed total should be updated. The program should start with Mozzarella Cheese, Tomato Sauce, and Regular size checked.
Your program should also have the following topping choices and prices:
Try your hand at design and come up with your own object list.
When the Sale button is clicked, the form should become ready for another order, with all CheckBoxes returned to their original values and the order number increased by one.
HINTS: Use global constants for prices and a global variable for the order number. Try to find patterns in the toppings and group them accordingly. Don't be intimidated by the size of the task, just break it down while you're designing it, and then code it when you get the design finished.
As always, design a useful and proper interface.