I NEED HELP FOR MY ASSIGNMENT!!!!

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.

I stuck in this outputs

S.O.S SOMEONE HELPPPP PLSSS!!!
Last edited on
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.
Sry i not so understand with store 6 variables (The 3 base prices, and the 3 areas of the homes).Can you give some example of it.THx
Last edited on
baseprice1/area1
baseprice2/area2
baseprice3/area3

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.
Thank you very much,now my assignment are done.
Topic archived. No new replies allowed.