Question: Write a program in C++ that calculates the account balance and credit available for a department store credit card customer. The program will get a
Write a program in C++ that calculates the account balance and credit available for a department store credit card customer. The program will get a customers credit limit, opening balance, the total amount of the charges for the month, and the total of the credits received during the month. The program will calculate and display both the new balance and the credit available given that [(new balance = opening balance + opening balance x 1.65% + charges credits) and (credit available = credit limit new balance)].
nce)]
Sample output of a program that satisfies the requirements of this assignment is given below: Sample Output 1 Enter the customer's credit limit: 1200.00 Enter the customer's opening balance: 394.12 Enter the total charges for the month: 216.76 Enter the credits received during the month: 75.24 New Balance: $542.143 Credit Available: $657.857 Sample Output 2: Enter the customer' s credit limit: 5000 Enter the customer's opening balance: 0.0 Enter the total charges for the month: 642.99 Enter the credits received during the month: 20.18 New Balance: $622.81 Credit Available: $4377.19
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
