Question:C program for area of a rectangle
Answer
#include<stdio.h> int main(){ float l,w; float area; printf("Enter size of each sides of the rectangle : "); scanf("%f%f",&l,&w); area = l * w; printf("Area of rectangle is: %.3f",area); return 0; }[b]Sample output:[b] Enter size of each sides of the rectangle: 5.2 20 Area of rectangle is: 104.000
+ ExplanationNot Moderated
+ Report
C program for area of a rectangle