Question: this need to be in ruby Problem #5 Summerdale Condominiums offers properties with various amenities and different costs. The sales office needs an program to

 this need to be in ruby Problem #5 Summerdale Condominiums offers

this need to be in ruby

Problem #5 Summerdale Condominiums offers properties with various amenities and different costs. The sales office needs an program to determine the price of a condo depending on the type of view and parking desired. A condo with a park viiw has a base price of $150,000. For a golf course view, the price jumps to $170,000. For a lake view, you have to shell out $210,000. Parking is free unless the buyer wants an awning, which adds $3,000 to the cost; or an enclosed garage, which increases the amount by $6,000. Write a program that asks the user for the type of view they prefer. Then, ask the user if they want to park in a lot, in a lot with an awning, or an enclosed garage. Based on the user's choices, calculate the cost for a condo that meets those conditions. Display a summary to the user that shows the choices made along with the total cost of the condo based on those choices

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!