#include <stdio.h>
function();

	float calcAreaofTriangle(float width, float height);

	
int main(void) {
	// your code goes here
	float area;
	float height;
	float width;
	float calcAreaofTriangle;
	return 0;
	
}
// **************************************************
// Function: calcAreaOfRectangle
//
// Description: Calculates the area of a Rectangle
//
//
// Parameters:
//  base   - base of the Triangle
//  height - height of the Triangle
// 
//
// Returns:    area - area of Triangle
//
// ***************************************************

float calcAreaOfTriangle(float width, float height) // float width and height
{

    float area; // area of the Rectangle
    
    printf("Enter the Width in inches"); // prompt for width input
    scanf("%f", &width);				 // read in width
    
    printf("Enter the height in inches"); // prompt for height input in inches
    scanf("%f", &height);                 // read in width
    // calculate area
    area = width * height * .5; // Area of triangle is .5 x W x H plugin variables
   
   
    printf("The area is : %f\n", area); // Display the area according to calculation
    
    return (area);
} //calcAreaOfTriangle