#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\

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 17:56:53
#include#include//voidfun(inta,intb,intc#include#include//elseretrun1}elsereturn0;}main(){inta,b,c,s

#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\
#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 // 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\
#include
#include
//
else return 1; //return 写成 retrun,且缺分号;
}
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);
}