A doctor’s office manager adds a late fee of $15.00 to a pat…

A doctor’s office manager adds a late fee of $15.00 to a patient’s bill if the patient doesn’t pay at the time of service. The billing office will enter the cost of service into the computer and whether the patient is going to pay before they leave (Y/N). The program will print an invoice for the customer with the total amount they owe. Which selection structure is most appropriate in this situation?

A bank’s management wants a program that will calculate mont…

A bank’s management wants a program that will calculate monthly interest for a customer’s balance in a bank account. Checking accounts receive 1% interest, regular savings accounts receive 2% interest, and special savings accounts receive 3% interest. Which selection structure is most appropriate in this situation?