We have upgraded our system to latest version of MyBB. We are very sorry for the downtime ! Read More.
Advertise Here | Remove Ads

TRIANGLE AREA (C program)
  • 0 Vote(s) - 0 Average
Thread Closed 


TRIANGLE AREA (C program)
1
Code:
#include<stdio.h>
main ()
{
float b, h, area;
printf("The Land Locked of Triangle is: ");
scanf("%f", &b);
printf("The Height of Triangle is: ");
scanf("%f", &h);
area=.5*b*h;
printf("The area of Triangle is: %.2f\n\n", area);
return 0;
}







Forum Jump:


Users browsing this thread:
1 Guest(s)

Advertise Here | Remove Ads