#include #include // void fun(int a,int b,int c

问题描述:

#include #include // void fun(int a,int b,int c
#include
#include
//
else retrun 1
}
else return 0;
}
main()
{ int a,b,c,shape;
printf("\nInput a,b,c:"); scanf("%d%d%d",&a,&b,&c);
printf("\na=%d,b=%d,c=%d\n",a,b,c);
shape =fun(a,b,c);
printf("\n\nThe shape :%d\n",shape);
}

#include
#include
//
elsereturn1; //return 写成 retrun,且缺分号;
}
elsereturn0;
}
main()
{inta,b,c,shape;
printf("\nInput a,b,c:");scanf("%d%d%d",&a,&b,&c);
printf("\na=%d,b=%d,c=%d\n",a,b,c);
shape =fun(a,b,c);
printf("\n\nThe shape:%d\n",shape);
}