diff --git a/basic practice/area_of_rectangle.c b/basic practice/area_of_rectangle.c index aa1c925..1f9da28 100644 --- a/basic practice/area_of_rectangle.c +++ b/basic practice/area_of_rectangle.c @@ -1,10 +1,10 @@ #include int main(){ - int l,b,area; + int l,b; printf("Enter the length and breath of Rectangle "); scanf("%d,%d",&l,&b); - area=l*b; - printf("The Area of the Rectangle is %d",area); + + printf("The Area of the Rectangle is %d",l*b); return 0; -} \ No newline at end of file +}