Assume you are looking to buy a house in a new development.After looking at various models they are majestic,split-entry,and single-story.The builder gave them the base price and the finished area in square meters of the three models.They want to know the models with the least price per square feet.Write a program that accepts as input the base price and the finished area in square meters of the three models.The program outputs the models with the least price per square meter.
How to outputs the models with the least price per square meter.
Price per square feet is just price/area. Write a program that will accept and store 6 variables (The 3 base prices, and the 3 areas of the homes), and then just test which has the lowest price/area.
This isn't a homework service. We're more than willing to help people, but you must show us you have attempted to do it yourself. We won't do it for you.
That being said, if you don't know how to program, as if you haven't been paying attention in class, there is a tutorial on this site located in the documentation section. That will get you to understand how to write this program and then you can attempt to write it. We will help fix errors as long as it was a valiant effort on your behalf.