Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program 1.Ask the user the name of the item to be used in the calculations. 2. Ask the user the current price

Write a C++ program
1.Ask the user the name of the item to be used in the calculations.
2. Ask the user the current price of the item.
3. Ask the user for the number of years that they have to pay for the item.
4. Ask the user for the interest rate.
5. If the user does not make any payments, calculate what the item would cost when they pay for the item.
The output should look like this:
The (name of the item) costs (present cost) now.
The (name of the item) will cost (future cost) in (number of years) years.
Run the program with the following information.
The item is a car.
The present cost is $25,000.
The number of years is 10.
The interest rate is 8%.
Please upload the .cpp file and the results of running the program.

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

How do audits serve a preventive purpose?

Answered: 1 week ago

Question

Determine miller indices of plane A Z a/2 X a/2 a/2 Y

Answered: 1 week ago

Question

=+ f. instituting laws against driving while intoxicated

Answered: 1 week ago