A C ++ program for finding the First digit of the large factorial number
#include <bits/stdc++.h> NEW_LINE using namespace std ; int firstDigit ( int n ) { long long int fact = 1 ; for ( int i = 2 ; i <= n ; i ++ ) { fact = fact * i ;