Question: Using C++, create the following code. Samantha and Vikas are looking to buy a house in a new development. After looking at various models, the
.'ll AT&T 1:05 AM ramming Primer - Example Probl Example in-class Problem #1: Samantha and Vikas are looking to buy a house in a new development. After looking at various models, the three models they like are colonial, split-entry, and single story. The builder gave them the base price and the finished area in square-feet of the three models. In addition, the builder gave them a kitchen upgrade price of 5% for single story, 10% for split entry, and 17% for Colonial (Upgrade is a % ofbase price). Finally, the builder gave them a bathroom upgrade price of 7% for single story, 12% for split entry, and 16% for colonial (Upgrade is a % of base price) They want to know the model(s) with the least price per square foot which includes no upgrades, kitchen upgrade only, bathroom upgrade only, and kitchen and bathroom upgrade. Write a program that accepts as input the base price and the finished area in square feet of the three models. The program outputs the model(s) with the least price per square foot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
