Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Write a program that uses array to calculate the factorial of a reasonable large number (say, up to 2,000).

1 answer below »

Write a program that uses array to calculate the factorial of a reasonable large number (say, up to 2,000).


Answered Same Day Aug 28, 2021

Solution

Neha answered on Aug 29 2021
156 Votes

As we take large number its factorial comes to be a very large numbe
which can't be stored even in long int. A
ay is used to store the
factorial of large numbers. The multiplication of digits to find
factorial is done from right most to left most.
#includeusing namespace std;
#define max 20000
maximum range till which program will find the factorial
int fact(int x, int...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here