Calculate exponential: how to use exp
#include <stdio.h> #include <math.h> int main () { double p, result; p = 5; result = exp (p); printf ("Exponential of %lf = %lf\n", p, result ); return 0; }