Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
451 B
3
Indexable
Never
/**
      md shafayat karim
 CSE, International Islamic University chittagong
*/
#include <stdio.h>
int main()
{
    long long int N;
   
    int num;
    scanf("%d", &num);
 
    for (int j = 1; j <= num; j++)
    {
        scanf("%lld", &N);
         long long int count = 1;
 
        for (int i = 1; i <= N; i++)
        {
            count = count * i;
        }
        printf("%lld\n", count);
    }
 
    return 0;
}