How to write to C Program To Find Area of Right Angled Triangle in C Programming Language ?
C Program To Find Area of Right Angled Triangle |
Solution For C Program To Find Area of Right Angled Triangle
#include#include void main() { int base,height; float area; clrscr(); // Clear Screen printf("Enter the base of Right Angle Triangle : "); scanf("%d",&base); printf("Enter the height of Right Angle Triangle : "); scanf("%d",&height); area = 0.5 * radius * radius; printf("Area of Right Angle Triangle : %f",area); getch(); }
Output :
Enter the base of Right Angle Triangle : 4 Enter the height of Right Angle Triangle : 8 Area of Right Angle Triangle : 16.0
Tags: C Program To Find Area of Right Angled Triangle, area of right angled isosceles triangle, area of right angled triangle worksheet, area of right angled triangle in terms of inradius and circumradius, area of right angled triangle formulas, area of right angled triangle using hypotenuse, area of right angled triangle with angles are given, surface area of a right angled triangle, area of a right angled triangle calculator.