Page

Sunday, 17 June 2018

program to find the area of rectangle in c

#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,rectangle;
printf("enter the value a:");
scanf("%d",&a);
printf("enter the value b:");
scanf("%d",&b);
rectangle=(a*b);
printf("the required value is:");
printf("%d",rectangle);
getch();
return(0);
}


No comments:

Post a Comment