Tux Education Our New Education Channel Please Share And Subscribe It...

/* Find Area Of Rectangle */



// Compiler : Dev-C++ 4.9.9.2

#include<stdio.h>

int main()
{
    float l,w;
    float area;

    printf("Length : ");
    scanf("%f",&l);
    printf("\n\nWidth : ");
    scanf("%f",&w);

    area = l * w;
    printf("\n\n\nArea Of Rectangle : %.3f",area);
    
    getch();
    return 0;
}

Post a Comment