diff --git a/ASSIGNMENTS/sum -Factorial digit.md b/ASSIGNMENTS/sum -Factorial digit.md new file mode 100644 index 00000000..6dbc2a7a --- /dev/null +++ b/ASSIGNMENTS/sum -Factorial digit.md @@ -0,0 +1,28 @@ +Find the sum of the digits in the number N! + +#### Input Format + +First line contains T that denotes the number of test cases. This is followed by T lines, each containing an integer,N . + + +#### Output Format + +Print the required answer for each test case. + +#### CONSTRAINTS +1≤ T ≤ 100 + +0≤ N ≤ 1000 + +#### Sample Input +``` +2 +3 +6 +``` + +#### Sample Output +``` +6 +9 +```