void int c(int x,int y)这样的说明组合系统提示是无效,想知道怎么改,谢谢
程序代码:
#include<stdio.h> int main() { int i,j,n=13; printf("N="); while(n>12) scanf("%d",&n); for(i=0;i<=n;i++) { for(j-0;j<=24-2*i;j++)printf(" "); for(j=1;j<i+2;j++)printf("%4d",c(i,j)); printf("\n"); } } void int c(int x,int y) { int z; if((y==1)||(y==x+1))return 1; z=c(x-1,y-1)+c(x-1,y); return z; } [local]1[/local]