In this program user ask to find the exponential Power of value. Exponents are shorthand for repeated multiplication of the same thing by itself. User declares double type variable or float and int. two variables temp and expo assigned value 1. User asks to enter the value for expo and then the loop statement configures the condition to evaluate output. In loop statement the term variable is been manipulated with the x or I. and after all the manipulation the output is print out on the screen.
This program is to find out the exponential power of digit.
- Declaring the variable.
- Using loop statement.
- Display result on the screen.
Here is C source code for finding the exponential power. The output of this program shown below.
printf("Enter the exp Value of x: ");
term *= x/i;
printf("\Our Exp = %f %f\n",x,expo);