C programming & online Test
Pages
Homepage
C-Online Test
C-Interview Question
C-program
C-Tutorial
Disclaimer
Wednesday, 19 February 2014
write a program to find area of equilateral triangle.
#include<stdio.h>
main()
{
float side,area;
printf("enter the side of equilateral:");
scanf("%f",&side);
area=1.73/4*(side*side);
printf("area of equilateral triangle =%f",area);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Contact Form
Name
Email
*
Message
*
No comments:
Post a Comment