Calculate the area of rectangle , read width and Length using float value.


            main()
            {
                float a,w,l;
                clrscr();
            
                printf("\n Enter width of the rectangle");
                scanf("%f",&w);
            
                printf("\n Enter length of the rectangle");
                scanf("%f",&l);
            
                a=w*l;
            
                printf("\n Area of the rectangle %f",a);
                
                getch();
            }
            

Output: