#include <stdio.h>

float calcAreaTriangle(float base, float height);

int main (){
    calcAreaTriangle(2, 4); 
}
//**************************************************************
// Function: calcAreaTriangle 
// 
// Purpose: Receives information on the base and height of the
// triangle and calculates the area
// 
// Parameters:
// 
//     base - base of the triangle
//     height - number of employees to process
//
// Returns: areaTriangle - area of the triangle 
//  
//**************************************************************
float calcAreaTriangle (float base, float height)
{
   float areaTriangle; 
   areaTriangle= ((1/2)*base)*height;
   printf("Area of the Triangle is: %f", areaTriangle);
   return areaTriangle;
} //need to check that adheres to coding standards
