Home Area of Rectangle
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday1
mod_vvisit_counterYesterday0
mod_vvisit_counterThis week1
mod_vvisit_counterLast week0
mod_vvisit_counterThis month1
mod_vvisit_counterLast month0
mod_vvisit_counterAll days4219

We have: 1 guests online
Your IP: : 38.107.179.231
 , 
Today: May 21, 2012

Tracker

visitors by country counter
flag counter

C Program To Find The Area Of A Rectangle

#include<stdio.h>
#include<conio.h>
void main()
{
float l,b,a;
clrscr();
printf("Enter length:\n");
scanf("%f",&l);
printf("Enter breadth:\n");
scanf("%f",&b);
a=l*b;
printf("Area of rectangle=%f",a);
getch();
}

Sample Run:
Enter length:
5
Enter breadth:
10
Area of rectangle=50.000000