C Language (Area of the ROOM)
#include
#include
void main()
{
int l,b,p;
clrscr();
printf ("Enter Value");
scanf ("%d,%d",&l,&b);
p=(2*l)+(2*b);
printf("The ans is %d",p);
getch();
}
#include
void main()
{
int l,b,p;
clrscr();
printf ("Enter Value");
scanf ("%d,%d",&l,&b);
p=(2*l)+(2*b);
printf("The ans is %d",p);
getch();
}
Comments