Q:

C Program to find area of rectangle

0

C Program to find area of rectangle

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <stdio.h>
 
int main()
{
    float l,b,area;
 
    printf("Enter the value of length: ");
    scanf("%f",&l);
 
    printf("Enter the value of breadth: ");
    scanf("%f",&b);
 
    area=l*b;
 
    printf("Area of rectangle: %f\n",area);
     
    return 0;}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now