最新回答 / 慕盖茨4133583
1、被调函数如果放在主调函数后面,就需要在调用前声明被调函数;2、int alow(int score) 形参类型应该是整形数组;3、 sum/=10; 若想得到float型,应 sum/=10.0, 若不想出现warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [- Wformat=]|, 就把float改为doubl...
2017-09-29
最新回答 / qq_莫非
int 函数名(参数){代码执行;return 表达式;}http://blog.csdn.net/joyyang7/article/details/47186195
2017-09-29
最赞回答 / 慕运维9304178
#include <stdio.h>int main(){ int x,y; x = 10; y = -3; int a,b,c,d,e; a=x+y; b=x-y; c=x*y; d=x/y; e=x%y; printf("x+y=%d\n",a); printf("x-y=%d\n",b ); printf("x*y=%d\n",c); printf("x/y=%d\n",d); printf("x%y...
2017-09-28