Question: A doctor charges a fee for his services that includes an initial payment followed by monthly payments until the contract amount has been paid. The
A doctor charges a fee for his services that includes an initial payment followed by monthly payments until the contract amount has been paid. The user must be asked for and enter the amount of the payment they want to pay every month. The monthly payments are always due on the first of the month starting the month following the consultation date. Write a program that will allow the user to enter the patient account number (4 digits), the date of the consultation, the treatment fee, the initial payment, and the desired monthly payment. Following that on the screen, the program should produce a payment schedule for each patient. The payment schedule should include a heading (as illustrated below) showing the: 1) the patient account number 2) the consultation date (requested in the format "MN/DY/YR" - 2 digits for each) 3) the treatment fee 4) the initial payment 5) a payment schedule with numbered payments, the payment due date, the total amount paid, and the outstanding balance (the final payment may be less
Done by c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
