I'm not sure where to even start this assignment:
In shopping for a new house, you must consider several factors. In this problem the initial cost of the house, the estimated annual fuel costs, and the annual tax rate are available. Write a program that determines and displays the total cost of a house after a five-year period and execute the program for each of the following sets of data:
Initial House Cost Annual Fuel Cost Tax Rate
167,000 3,300 0.025
162,000 3,500 0.025
175,000 2,850 0.025
To calculate the house cost, add the initial cost to the fuel cost for five years, then add the taxes for five years. Taxes for one year are computed by multiplying the tax rate by the initial cost. Show testing for your program as discussed in lab and lecture.
Any help with writing the initial function and the constants would be greatly appreciated!