I am trying to do this C++ homework it is the

second one, i am very new to this and have no

idea what is going on i would appreciate any

help. thanks in advance you. below is the homework problemIf someone could also put // notes so I can understand what is going on I would be very greatful

In shopping for a new house, you must consider several factors. In this problem the initial cost of the house, estimated annual fuel costs, and annual tax rate are available. Write a program that will determine the total cost after a five year period for each set of house data below. you should be able to inspect your program output to determine the "best buy."

Initial House Cost Annual Fuel Cost Tax Rate

$175,000 $2500 0.025

$200,000 $2800 0.025

$210,000 $2050 0.020

To calculate the house cost, add the fuel cost for five years to the initial cost, then add the taxes for five years. Taxes for one year are computed by multiplying the tax rate by the initial cost.

Write and call a function that displays instructions to the program user

and another function that computes and returns the house cost, given the initial cost, the annual fuel cost, and the tax rate.

Start with psuedo-code. Many here will help but few, if any, will do your HW.

=====================================

Helping others achieve escape felicityM2

Thank you, my teacher is very fast paced

Ask Your Question

Weekly Poll

Do you think Facebook should be allowed to move forward with the Libra currency?

Discuss in The Lounge

Poll History