Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program that prompts the user for a credit card balance, a card credit limit, and an interest rate. You are to calculate

Write a C++ program that prompts the user for a credit card balance, a card credit limit, and an interest rate. You are to calculate and display what the balance would be after one year, two years, and three years. Note that we are not assuming any payments made on the card. If the balance after the interest for the corresponding year is greater than the credit limit you should display a message notifying that the user has exceeded the balance by X amount (yes, you'll need to specify the actual amount and not use the letter X :-) ) The interest rate should be entered in whole numbers (ex: 15), but *hint* remember you will need to to /100 to get the rate as a decimal.

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago

Question

List behaviors to improve effective leadership in meetings

Answered: 1 week ago