How To Write An Exponential Function In C