MIPI_AdvancedC_FRTK/Lect6/65-68/function.c

6 lines
91 B
C
Raw Permalink Normal View History

2024-11-14 08:45:50 +03:00
unsigned int fact(unsigned n) {
if(n==0)
return 1;
return n * fact(n-1);
}