Question
Write a C++ program that will calculate the interest on a customers credit cards unpaid balances using the average daily balance. This program requires the
Write a C++ program that will calculate the interest on a customers credit cards unpaid balances using the average daily balance. This program requires the use of a nested if and output manipulators
The standard input for this program will be:
Customers first and last name ;
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)
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 Module 3 Program Assignment. Note: you may modify the previous program assignment to incorporate the nested if that determines the APR based on the averageDailyBalance . Attached is an example of Module 3 Program
IT210 Business Applications with C++ Programmer Vijay Kalburgi Date December 1, 2016 Module 3 Program Assignment Credit Card Interest Calculator This program calculates the interest on unpaid average daily balance redit card balances using the Please enter the first and last name on the credit card: James Bond ou entered James Bond Please enter the credit card number 2345 ou entered 2345 Please enter the balance shown in the credit card bill: 2500 ou entered $2500 Please enter the payment you made: 50 You entered $50 Please enter the number of days in the billing cycle 30 You entered 30 Please enter the number of days payment was made before billing cycle 5 You entered 5 234567890123456789012345678901 345678901 234567890 Bond 2345 ames IRST NAME LAST NAME CARD NUMBER Credit Card Balance. 2500.00 Annual Interest Rate................. 15.00 Payment Made............................ 50.00 Number of Days in Billing Cycle 30 Number of Days Before Billing cycle. verage Daily Balance 2491.67 Interest on Unpaid Balance 31.15Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started