Write a C++ program with functions that will calculate the interest on one or more customers' credit card's unpaid

balances using the average daily balance.

Program Input

The standard input for this program which will also be echoed, is:

Customer's 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, interest, and APR based on the formulas given below:

averageDailyBalance = (netBalance * d1 - paynment * d2)/d1

interest = averageDailyBalance *APR/(100*12)

where APR depends on the average daily balance as shown below

averageDailyBalance <$100 APR = 5%

averageDailyBalance between $100 and $1000 APR = 10%

averageDailyBalance >$1000 APR = 15%

Your program will utilize functions to:

1. Read first and last name (void function)

2. Read credit card number (value returning function)

a. Use a void function to verify read credit card number is correct

3. Read the balance shown in bill (netBalance), payment made (payment), days in billing cycle (d1), and number days

payment made before billing cycle (d2) using a void function

4. Calculate the average daily balance using a void function

5. Determine the APR using a value returning function

6. Determine the interest using a void function

7. Output the results using a void function

### Recently Asked Questions

- Explain, in detail, the theory of plate tectonics. Include a discussion of supporting evidence, the scientists who contributed, and its effect on the

- what should we expect to be the company's (EVA) if it invested capital is $98.2 billion, it has an ROE of 10.1% as well as Wacc of 4.1% and equity multiplier

- I made a code that prompt the user for the name of beer and how many pints they want so I can calculate the total cost of the beverage. However, when I run the