// Arup Guha
// 9/28/09
// Solution to Fall 2009 COP 3223 Section 3 Free Response Question #1
// Calculates the area of a equilateral triangle, given its side length.

#include <stdio.h>

int main(void) {
  
    double s, area;
    printf("What's the side length of your equil. triangle?\n");
    scanf("%lf", &s); 

    // This is the given area formula, nothing tricky here.
    area = s*s*sqrt(3)/4;

    printf("The area of your triangle is %.2lf\n", area);
    system("PAUSE");
    return 0;
}
