HELP ME!!!!!!!

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!!!
i dont see a problem, if u are using some stl container to store all the above info, sort it whenever u insert a new element based on price or whatever is ur criteria.
Topic archived. No new replies allowed.