Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Area of a Triangle

int main()
    float a,b,c;
    float s,area;
    printf("Enter size of each sides of triangle");
    s = (a+b+c)/2;
    area = sqrt(s*(s-a)*(s-b)*(s-c));
    printf("Area of triangle is: %.3f",area);
    return 0;


Enter size of each sides of triangle 3



Area of triangle is: 2.90

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.