#include "stdio.h"
#include "stdlib.h"
#include "string.h"
int num_dec(int num)
{
if(num>1)
{
printf("%d \r\n",num);
return num*num_dec(num-1);
}
}
void main()
{
printf("%d \r\n",num_dec(10));
}