# Credit Card Debt The True Cost of Paying Minimum Payment Write a C++ program to output the payment schedule for the amount owed when each month nothing more is charged to the account but only the minimum payment is paid. The output stops when the balance

Credit Card Debt The True Cost of Paying Minimum Payment Write a C++ program to output the payment schedule for the amount owed when each month nothing more is charged to the account but only the minimum payment is paid. The output stops when the balance is fully paid (i.e. no longer > 0). Input: Data must be done in a separate function. Input the following: credit card balance, the interest rate on your credit card, and percent of the minimum payment. Test data: 624 24, 4 Data must be read from a file called lab6.txt. Calculate: This function must be called from main() from within the loop. For each month, calculate the amount of interest to be paid that month (adding this into balance before calculating minimum payment), the total of interest paid, amount of minimum payment due for the month, and updating the new balance.