#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
I2luY2x1ZGUgPHN0ZGlvLmg+CgpmbG9hdCBjYWxjQXJlYVRyaWFuZ2xlKGZsb2F0IGJhc2UsIGZsb2F0IGhlaWdodCk7CgppbnQgbWFpbiAoKXsKICAgIGNhbGNBcmVhVHJpYW5nbGUoMiwgNCk7IAp9Ci8vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKLy8gRnVuY3Rpb246IGNhbGNBcmVhVHJpYW5nbGUgCi8vIAovLyBQdXJwb3NlOiBSZWNlaXZlcyBpbmZvcm1hdGlvbiBvbiB0aGUgYmFzZSBhbmQgaGVpZ2h0IG9mIHRoZQovLyB0cmlhbmdsZSBhbmQgY2FsY3VsYXRlcyB0aGUgYXJlYQovLyAKLy8gUGFyYW1ldGVyczoKLy8gCi8vICAgICBiYXNlIC0gYmFzZSBvZiB0aGUgdHJpYW5nbGUKLy8gICAgIGhlaWdodCAtIG51bWJlciBvZiBlbXBsb3llZXMgdG8gcHJvY2VzcwovLwovLyBSZXR1cm5zOiBhcmVhVHJpYW5nbGUgLSBhcmVhIG9mIHRoZSB0cmlhbmdsZSAKLy8gIAovLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCmZsb2F0IGNhbGNBcmVhVHJpYW5nbGUgKGZsb2F0IGJhc2UsIGZsb2F0IGhlaWdodCkKewogICBmbG9hdCBhcmVhVHJpYW5nbGU7IAogICBhcmVhVHJpYW5nbGU9ICgoMS8yKSpiYXNlKSpoZWlnaHQ7CiAgIHByaW50ZigiQXJlYSBvZiB0aGUgVHJpYW5nbGUgaXM6ICVmIiwgYXJlYVRyaWFuZ2xlKTsKICAgcmV0dXJuIGFyZWFUcmlhbmdsZTsKfSAvL25lZWQgdG8gY2hlY2sgdGhhdCBhZGhlcmVzIHRvIGNvZGluZyBzdGFuZGFyZHMK