Question: Purpose Write a C++ program that will calculate the interest on one or more customers credit cards unpaid balances using the average daily balance. This


Purpose Write a C++ program that will calculate the interest on one or more customers credit cards unpaid balances using the average daily balance. This program also ensures the customer has entered the correct credit card number and the use of two loops, a nested if, and output manipulators.
1. The standard input for this program will be:
Customers first and last name ;
Credit card number (use a loop to verify and correct customers credit card number)
Balance shown in the bill (netBalance)
Payment made (payment)
Days in the billing cycle (d1)
Number of days payment made before billing cycle (d2)
2. Calculate the average daily balance and interest based on the information given below:
averageDailyBalance = (netBalance * d1 paynment * d2)/d1
APR = 5 for averageDailyBalance less than $100
APR = 10 for averageDailyBalance between $100 and $1000
APR = 15 for averageDailyBalance above $1000 (where APR is the Annual Percentage Rate, an number which represents the annual interest rate
interest = averageDailyBalance *APR/(100*12)
Your programs input/output must be identical to the screenshots provided below
IT210 Business Applications with C++ Programmer: Vijay Kalburgi Date: February 27, 2017 Mdoule 5 Program Assignment Interest Calculator This program calculates the interest on unpaid credit card balances using the average daily balance Please enter the first and last name on the credit card: Siri Gowri You entered Siri Gowri Please enter the credit card number: 1234 You entered 1234 If this is correct, press 0 or 1 to try again: 1 Please enter the credit card number: 2345 You entered 2345 If this is correct, press 0 or 1 to try again: 0 Please enter the balance shown in the credit card bill: 660 You entered $660 Please enter the payment you made: 40 You entered $40 Please enter the number of days in the billing cycle: 30 You entered 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
