C Program to find exponent Power Series
###### Posted by Samath
Last Updated: January 02, 2017
```#include<stdio.h>
#define ACCURACY 0.0001

int main() {
int n, count;
float x, term, sum;

printf("\nEnter x:");
scanf("%f", &x);

n = term = sum = count = 1;

while (n <= 100) {
term = term * x / n;
sum = sum + term;
count = count + 1;

if (term < ACCURACY)
n = 999;
else
n = n + 1;
}

printf("\nTerms = %d Sum = %f", count, sum);
return 0;
}```

###### Power Function in Python
Samath | Mar 02, 2015
###### How do you use the POWER function to raise a number to a specified power?
FrankMl | Jul 17, 2024
###### C program that determine if a number is a power of 2
Samath | Jun 03, 2015
###### C++ Power Set
Samath | Jan 05, 2017
###### Write a Python function to calculate the power of a number using recursion.
PaulAnd | Aug 17, 2024
###### C Program to generate the Fibonacci Series starting from any two numbers
Samath | Jan 02, 2017
###### How do you create a recursive CTE to generate a series of numbers?
AliceWk | Jun 20, 2024
###### Java program that calculates the square, cube, and fourth power of a number
Samath | Feb 08, 2021