#include #include #define N 10 int M[N+1][N+1跨度>];//M 声明为 global unsigned long fact_recursive (unsigned short nombre) { if (number == 0) return 1跨度>; else 返回数字 * fact_recursive(数字 - 1跨度>); } int triangle(int b) { int i,k=1,j; for(i=0跨度>;我 { for(j=0跨度>;j<=i;j++) { k=fact_recursive(i)/(fact_recursive(j)*fact_recursive(i-j)); printf(%4d\t”,k); //存储在 M M[i][j]=k; } printf(\n”); } } int main() { 三角形(N); return 0跨度>; } |
Please disable your ad blocker and refresh the window to use this website.