Question: I'm not sure why my code isn't working. I'm supposed to write a program that uses array to calculate the factorial of a reasonably large

I'm not sure why my code isn't working. I'm supposed to write a program that uses array to calculate the factorial of a reasonably large number (say, up to 2,000). I can't figure out why my output isn't right.

I'm not sure why my code isn't working. I'm supposed to write

a program that uses array to calculate the factorial of a reasonably

#include using namespace std; void factorial(int n); int fact(int i, int array[], int arraySize); Fint main() int n; cout > n; cout - 0; 1--> cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!