Que : Write a c programm to find the area of rectangle.
Ans :
#include<stdio.h>
int main()
{
float length,breadth,area;
printf("Enter the length : ");
scanf("%f",&length);
printf ("Enter the breadth : ");
scanf("%f",&breadth);
area=length*breadth;
printf("area of ractangle is : %f ",area);
return 0;
}
******************************************************
Now I show input and output of the question.
*******************************************************
****************************************************************************** |
*********************************************************************************
Nice bro👌
ReplyDelete