Yes we can save two numbers at one place by using simple mathematical formula.
The formula :
dividend=divisor*quotient+remainder
To count the digits in a factorial we must seek some optimization as you might also understand that getting all the product and storing the...
No comments:
Post a Comment