Program to compute area of rectangle.

 #include <stdio.h>

int main()

{

    float length , breadth ,area;

    printf("enter the value of length");

    scanf("%f",&length);

    printf("enter the value of breadth");

    scanf("%f",&breadth);

    

    area=length*breadth; 

    printf("the area of rectangle is %.2f",area);


    return 0;

}

No comments:

Post a Comment

Programming in C Language

  PROGRAM LIST TO BECOME PRO IN C    😍😍😍            PRACTICE SETS                                                        UNIT -1  👇   IN...