area of a right angle triangle

Solutions on MaxInterview for area of a right angle triangle by the best coders in the world

showing results for - "area of a right angle triangle"
Salomé
07 May 2016
1#include <stdio.h>
2int main(){
3    float h, b, A;
4    printf("What is the Height and base of the triangle: \n");
5    scanf("%f %f", &h, &b);
6    A = 0.5 * b *h;
7    printf("Area is %f\n", A);
8}
similar questions
queries leading to this page
area of a right angle triangle