Answers

2014-09-23T17:31:32+05:30
int main()
{
  
   double length =7.5, breadth=3.5, area, perimeter;
 
   area = length * breadth; 
   perimeter = 2*(length+breadth); 
   printf("\nArea of Rectangle = %f", area);
 
/*if you wish to round off the decimals to some point, add .n(n is number of decimal values you want)before %f in the printf statement, eg %.2f */
   printf("\nPerimeter of Rectangle = %f", perimeter); 
  return (0);
}
0