Header Ads

Learn Together, Stay Connected.

ত্রিভুজ, আয়ত ও বর্গ এর ক্ষেত্রফলের যোগফল-C


#include<stdio.h>
#include<math.h>
int main()
{
    int a,b,c;
    double area,s;
    scanf("%d %d %d",&a,&b,&c);
    area=0.5*a*b+b*b+b*c;
    printf("Total area = %0.2lf\n",area);
    return 0;
}

No comments

Theme images by Dizzo. Powered by Blogger.