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

Answered step by step
Verified Expert Solution
Question
44 users unlocked this solution today!

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

1 Expert Approved Answer
Link Copied!

Step: 1

blur-text-image
Question Has Been Solved by an Expert!

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

100% Satisfaction Guaranteed-or Get a Refund!

Step: 2Unlock detailed examples and clear explanations to master concepts

blur-text-image_2

Step: 3Unlock to practice, ask and learn with real-world examples

blur-text-image_3

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

  • tick Icon Access 30 Million+ textbook solutions.
  • tick Icon Ask unlimited questions from AI Tutors.
  • tick Icon Order free textbooks.
  • tick Icon 100% Satisfaction Guaranteed-or Get a Refund!

Claim Your Hoodie Now!

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

flashcard-anime

Study Smart with AI Flashcards

Access a vast library of flashcards, create your own, and experience a game-changing transformation in how you learn and retain knowledge

Explore Flashcards

Students Have Also Explored These Related Databases Questions!

Q:

Create messages that solve problems

Answered: 3 weeks ago