最新回答 / 宝慕林4508456
因为在main函数中没有定义x,y,z,只定义了a,b,c。如果要使用x,y,z只需将int a,b,c;改为int x,y,z;同时将赋给a,b,c的值赋给x,y,z即可
2018-11-14
最赞回答 / 慕瓜0592510
#include <stdio.h>int main() {float h,w; 符号没加print("请输入小名的身高h\n",h); scanf("%d",&h); 俩个&没加printf("请输入小名的体重w\n",w);scanf("%d",&w); 这里是w,不是hif ((h>=188)&&(w>=75)) { printf("恭喜你可以加入校队"); elseprintf("明年见");} ...
2018-11-14
最新回答 / 慕的地9121783
这项不用加,如下: printf("小明今年%d岁\n", age); printf("小明身高%f%c\n", height, unit); printf("小明现在在慕课网上学习IT技术");
2018-11-14
最新回答 / ontheroadYR
#include <stdio.h>int main(){ int x,g,sum; float n; n=2.3; x=13; sum=x+(g-3)*n+1; printf("%d\n",sum); return 0;}
2018-11-14