2.How to find the area of rectangle

 #include <stdio.h>

#include <conio.h>

// How to find Area of rectangle
int main()
{
    float length, breadth;
    printf("Enter the lenght:\n");
    scanf("%f", &length);
   
    printf("Enter the breadth:\n");
    scanf("%f", &breadth);

    printf("The area of rectangle is:%f",length*breadth);

    return 0;
}

Comments