calculate factorial of a number with 20 digitsi know them ... my teacher said it is possible to calculate this by Arrays and a special algorithm h...
calculate factorial of a number with 20 digitshow can I do with the algorithm of this... calculating the result of factorial of a number with 2...
(x/1!) – (x^2/2!) + (x^3/3!) - (x^4/4!) + (x^5/5!) - (x^6/6!) + (x^7/7!) – ((x^8/8!) + (x^9/9!) - (x^10/10!) Algorithm??Thanks guys its done now... [output] #include <iostream> using namespace std; int main() { long fl...
(x/1!) – (x^2/2!) + (x^3/3!) - (x^4/4!) + (x^5/5!) - (x^6/6!) + (x^7/7!) – ((x^8/8!) + (x^9/9!) - (x^10/10!) Algorithm??Whats the problem with this? [output] int main() { float t=1,x,sum=0; int n; cin>>x; for(n=1;n>...
(x/1!) – (x^2/2!) + (x^3/3!) - (x^4/4!) + (x^5/5!) - (x^6/6!) + (x^7/7!) – ((x^8/8!) + (x^9/9!) - (x^10/10!) Algorithm??That is a bit confusing, please explain more... how should i do with that ?
This user does not accept Private Messages