最新回答 / Kingred丶柒末雪
int main(){ int Classnumber(); //这里,int 删掉 int Classnumber1(5); //这里,int 也删掉 return 0;}
2018-06-18
最赞回答 / qq_S茶T栗_0
#include <stdio.h>int main(){ int num, a, b, c;//分别代表百位,十位,个位 for( num=100;num<=999;num++) { a =num/100 ; b =(num-a*100)/10 ; c =num-a*100-b*10 ; if(num==a*a*a+b*b*b+c*c*c ) printf("水仙花数字:%d\n", num);...
2018-06-18
最新回答 / Simonbj
#include <stdio.h>int main() { int score = 7200; //完善一下代码 if(score>=10000) { printf("钻石玩家"); } else if(score>=5000 && score<10000) { printf("白金玩家"); } else if(score>=1000 && sc...
2018-06-18
最新回答 / 慕码人9297883
比第一个for文的输入数小的数都不能被它自己整出就是质数了,比方说第一个for输入7,第二个for依次除以2,3,4,5,6都不能被7整出所以它就是质数,然后就跳出第二for文。
2018-06-16
最赞回答 / 慕标1287286
int arrFirst[3] = (1,2,3);改成int arrFirst[3] = {1,2,3}; 括号 错了 还有int arrSecond[] = (1,2,3);也错了
2018-06-16
最赞回答 / 与我共舞
程序中分为常量和变量两种,常量是不可改变存储单元中的值,变量是随着程序的需要存储单元中的变量值在发生改变。一般情况会用大写字符开头代表常量,小写定符开头代表变量。
2018-06-15