a factoral of a non negative integer n, denoted by n! is the product of all integers lesscthan or equal to n . you are required to implement the following function
int sumfactorialdigits (int n) ;
the function accept a positive integer n as it's argument. you are required to calculate the sum of all the digits of a number n and return the same
note:
0! =1
n>=0
write the program
Answers
Answered by
0
Answer:
A single line containing three space-separated integers N, X, Y respectively.
Output format
Similar questions