How to write a C Program to Find Area of Scalene Triangle in C Programming Language ?
C Program to Find Area of Scalene Triangle |
Solution For C Program to Find Area of Scalene Triangle:
#include<stdio.h> int main() { int s1,s2,angle; float area; printf("nEnter Side1 : "); scanf("%d",&s1); printf("nEnter Side2 : "); scanf("%d",&s2); printf("nEnter included angle : "); scanf("%d",&angle); area = (s1 * s2 * sin((M_PI/180)*angle))/2; printf("nArea of Scalene Triangle : %f",area); return(0); }
Output :
Enter Side1 : 3 Enter Side2 : 4 Enter included angle : 30 Area of Scalene Triangle : 3.000000
Tags: C Program to Find Area of Scalene Triangle, how to find area of scalene triangle without height
area of a scalene triangle formula, area of a scalene triangle with 3 sides, area of a scalene triangle given 3 sides, area of scalene triangle heron's formula, area of scalene triangle worksheet, area of scalene triangle calculator, area of a isosceles triangle.