Translate the given program from Python to C.
def calculate_area(r):
    pi = 3.14
    area = pi * r * r
    return area
#include<stdio.h>
#define PI 3.14

float calculate_area(float r)
{
    float area = PI * r * r;
    return area;
}