Can anyone tell me what is wrong with this code
#include<stdio.h>
int main()
{
int t,n;
scanf("%d",&t);
for(int i=0;i<t;i++)
{
int f=1;
scanf("%d",&n);
if(n<=0 || n>100)
continue;
while(n>0)
{
f*=n;
n--;
}
printf("%d\n",f);
}
}