Question: I'm trying to write a c++ programming to compute the amount of a certificate of deposit on maturity. The program must check the initial conditions

 I'm trying to write a c++ programming to compute the amount

I'm trying to write a c++ programming to compute the amount of a certificate of deposit on maturity. The program must check the initial conditions for all arguments as below: The initial deposit cannot exceed$100,000.00 The annual nominal interest rate is between 0.5 and 5.0 The minimum length for the CD is 1 year, maximum is 10 years

A=P*( 1 + r)^n*t

where

A = ending balance P = initial deposit amount r = annual nominal interest rate t = number of years n = number of compounding paid per year ( 12 for monthly compounding)

The program must repeat to calculate for more than 1 CD.

the sample output needs to follow:

Enter your initial deposit: 20,000 Enter the annual nominal interest rate: 3.25 Enter how many years the money will be certified: 5

CERTIFICATE of DEPOSIT

Initial amount of deposit: $20,000 Annual interest: 3.25% Duration: 5 years (s) Ending balance: $23523.80

Do you wish to go again? (Y/N):

I don't know what's wrong with my program can someone help me?

Transcribed image text

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!