Area of rectangle

Code for area of rectangle                                               


#include<stdio.h>
#include<conio.h>
void main()
{
int a,l,b;
printf("Enter length and breadth");
scanf("%d%d",&l,&b);
a=l*b;
printf("Area=%d",a);
getch();
}



Output


Comments

Popular posts from this blog

Code for pattern 6

Code to check leap year