#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("
Input a,b,c:"); scanf("%d%d%d",&a,&b,&c);
printf("
a=%d,b=%d,c=%d
",a,b,c);
shape =fun(a,b,c);
printf("
The shape :%d
",shape);
}
答案
#include
#include
//
else return 1; //return 写成 retrun,且缺分号;
}
else return 0;
}
main()
{ int a,b,c,shape;
printf("
Input a,b,c: "); scanf("%d%d%d",&a,&b,&c);
printf("
a=%d, b=%d, c=%d
",a,b,c);
shape =fun(a,b,c);
printf("
The shape : %d
",shape);
}
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点