Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started