Question: Update: In C++ Problem: You need to calculate the square footage of homes and their property taxes. The town has some odd taxrules. All of
Update: In C++




Problem: You need to calculate the square footage of homes and their property taxes. The town has some odd taxrules. All of the homes have at least one kitchen, bathroom, and a bedroom. However, they can also have additional bedrooms, bathrooms, living rooms, and/or a dining room.The user will be able to tell you which rooms they have and the length and width ofeach room. Each nun ofthe program should calculate and displaythe total square footage as well as the total taxes due.The property taxes calculated based on the type and size of the room accor ding to the following table. Function Tax Rate per sqft Kitchen $149 Bathroom Bedroom 5045 Living Room $0.35 Dining Room Any other room 25 Minimum total tax $1001 Long Wall Tax S3 per foot over 19 feet for each room lengthwidth over 19 feet. Exception being the Luxury tax on rooms of 200 sq and sa85 added to rooms tax per quality ng Maximum tota tax None Notes: The tax rates should be constants in your program, not having them wilcostpoints should be used to reduce code repetition, not having them will cost points. Al functions must be commented with pre and post conditions. e At least one function should contain and utilize a pass by reference parameter Example output: Do not hard code these values, your program should work for allvalues ofiength and dths) See provided text file for example output, your output should match if user provides same values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
