Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

6. What is process reengineering? Why is it relevant to training?

Answered: 1 week ago