by Dinesh Thakur

This is C program where user asks to calculate the exponential value of Number. Exponential is known to a variables raised to the power of something. For example, 10 to the power of 2 is 100 (10x10). For this process user declare the required variables for this after assign the value to variable. User put out the method to find out exponential value. And fetch out the result as output on display.

**Problem Statement:**

This is C program that asks user to calculate the exponential power of a Number.

- Declare the variable.
- Using exponent method for the value.
- Display result on the screen.

Here is C source code for Calculate the exponential value for number. Output of this program shown below.

#include <math.h>

int main ()

{

double p, result;

clrscr();

p = 5;

result = exp (p);

printf ("Exponential of %lf = %lf\n", p, result );

getch();

return 0;

}

Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology Motivation.
Turn Mobile View Off