Answers for "are of right angle triangle"

C
0

area of a right angle triangle

#include <stdio.h>
int main(){
    float h, b, A;
    printf("What is the Height and base of the triangle: n");
    scanf("%f %f", &h, &b);
    A = 0.5 * b *h;
    printf("Area is %fn", A);
}
Posted by: Guest on April-19-2021

Code answers related to "C"

Browse Popular Code Answers by Language