Solution :
/Program Name : area of triangle with reading input /
#include<stdio.h>
#include<conio.h>
int main()
{
double breath,height,area;
scanf("%lf%lf", &breath,&height);
area= 0.5 * breath * height;
printf("%lf", area);
getch();
}
Program Analysis :
Post a Comment