Beecrowd Problem 1541 (building Houses) solution( Bangla ) | C language

**Before watching this make sure that you’ve tried enough**

#include<stdio.h>
int main()
{
    int A,B,C,s;
    double area;
    for(;;){
        scanf("%d",&A);
        if(A==0)break;
        scanf("%d %d",&B,&C);
        area = A*B*100.0/C;
        for(s=1;s*s<=area;s++)
        s--;
        printf("%d\n",s);
    }

    return 0;
}

 

If this solution helped you, please share this with your friends.
And if you have anything to say, let me know in the comment section.

More solutions are coming so Like our Facebook page and Subscribe to our YouTube channel to stay connected.

3 thoughts on “Beecrowd Problem 1541 (building Houses) solution( Bangla ) | C language”

Leave a Comment