C program to find area of scalene triangle

C program to find area of scalene triangle:
If you are using any software then below program will not give an error, but if you are using TURBO C then you have to make some changes like: void main() and some function like clrscr() or getch().


   int s1,s2,angle;
   float area,PI=3.14;

   printf("Enter Side1 : ");

   printf("\nEnter Side2 : ");

   printf("\nEnter included angle : ");


   printf("\nArea of Scalene Triangle : %f",sarea);


Enter Side1 : 5

Enter Side2 : 5

Enter included angle : 70

Area of Scalene Triangle : 11.743507


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.