C program to estimate value of constant e