Write a C++ program that asks the user to enter the price of a car (real), the down

payment (real) and the number of years for the loan (integer). Calculate and output

the monthly payment (real) of that car. Assume the sales tax rate is 7% and an

interest rate is 9%. Use constant declarations for these rates.

Use the following formulae to perform the calculations:

tax amount = price of car * sales tax rate

total cost of car = price of car + tax amount

borrowed amount = total cost of car ‐ down payment

interest amount = borrowed amount * interest rate

loan amount = borrowed amount + interest amount

monthly payment = loan amount / number of months of loan

total90 0 Newbie Poster

Suzie999 245 Coding Hobbyist

abdiqani commented: thanks what is the result you went means hot flow program +0

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.