Nutritional Associates of New Jersey is in need of a brief billing report for patients. Write a program to generate a patient bill from the patient billing items found in Table 2 below. Use the form in Figure 4.62 of the Visual Basic text as a model, and write the program so that each group box is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the amount of the bill should be calculated.
Note: The Checked property of the first radio button in each group should be set to True in its Properties window. This guarantees that a selection is made in each visible group box. Of course when the bill is calculated, only the visible group boxes should be considered; see Figure 4.63 in the Visual Basic text.
Blood work | Nutritional Evaluation | Nutritional Journals |
Basic panel ($79.99) | Bronze ($199.99) | Food intake journals ($9.99) |
Basic panel + advanced cholesterol testing ($129.99) | Silver ($299.99) | Food intake and activity journal ($14.99) |
Basic panel + advanced cholesterol testing + advanced sugar testing ($179.99) | Gold ($399.99) | |
Basic panel + advanced cholesterol testing + advanced sugar testing + vitamin absorption ($229.99) |