C++ Practice Problem – Calculate 1977!
Time Limit: 2s Memory Limit: 192MB Problem Description Write a program to calculate the value of 1977! Input Format None Output Format None Sample Input None Sample Output None Code #include <iostream> using namespace std; const int MAX_DIGITS = 10000; // Estimate the number of digits in 1977! void factorial(int n) { int result[MAX_DIGITS] = … Read more