/* Program to calculate area of rectangle*/
#include<stdio.h>
int main(){
int Area,Length,Breadth;
Length=20;
Breadth=10;
Area=Length*Breadth;
printf("The area is %d", Area);
return 0;
}
Output:
The area is 200
Description:
Here the value of the length and breadth of the rectangle is given directly,so we applied formula and get the output result.
Ya ya gud
ReplyDelete