Found 2 Questions For Area of Right Angle Triangle

C++ Program to Calculate Area of Right Angle Triangle

Updated on 09-Apr-2023 10:53:56
Introduction: In geometry, a triangle is a three-sided polygon with three angles. Right angle triangle is a special type of triangle which has one angle of 90 degrees. The area of a right angle triangle is half of the product of its base and height. In this article, we will discuss how to calculate the area of a right angle triangle using C++ programming language.  Problem Statement: Write a C++ program to calculate the area of a right angle triangle, given its base and height. Solution: To... Read Mores

How to Calculate Area of Right angle Triangle using C Language

Updated on 09-Apr-2023 10:53:03
C Program to Calculate Area of Right angle Triangle Definition : Triangle having one angle of measure 90 degree is called Right angle Triangle. Sides of Triangle are : base , height , hypotenuse. You can compute the area of a Traingle. if you know its any two sides. Program :  #include <stdio.h> int main() { int base, height; float area; printf("\nEnter the base of Right Angle Triangle : "); scanf("%d", &base); printf("\nEnte... Read Mores



Advertisements

ads