SOLUTION: write a program to find wheather the area of the rectangle is greathe then its perimeter

Algebra ->  Customizable Word Problem Solvers  -> Geometry -> SOLUTION: write a program to find wheather the area of the rectangle is greathe then its perimeter      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 886942: write a program to find wheather the area of the rectangle is greathe then its perimeter
Found 2 solutions by josgarithmetic, Alan3354:
Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!
Assign some variables for input, x and y. You could choose other variable names. You have formulas, perimeter is 2x%2B2y, and area is xy. You want a program to check for xy%3E2x%2B2y, in a double alternative decision structure. You could assign the values from the formulas to process variables but the output would/could be a display like "Yes, Area Greater" or "No, Area not Greater."

Answer by Alan3354(69443) About Me  (Show Source):
You can put this solution on YOUR website!
Perimeter is a linear value, and area is 2nd order, eg, feet and square feet.
It makes no sense to say one is greater than the other.
------
eg, 2 ft by 3 ft rectangle:
P = 12
Area = 6
P is greater
Change it to inches:
--> 24 by 36 inches
P = 120
Area = 864
Now area is greater for the same rectangle.
==============
Is it colder in the city than it is in the winter?