課程
/后端開(kāi)發(fā)
/C
/C語(yǔ)言入門
如圖謝謝
2016-10-16
源自:C語(yǔ)言入門 4-4
正在回答
#include <stdio.h>int main() {??? int score = 7200;??? //完善一下代碼??? if(score>=10000)??? {??????? printf("鉆石玩家");??? }??? else if (score>=500)??? {??????? printf("白金玩家");??? ??? }??? else if (score>=1000)??? {??????? printf("青銅玩家");???? ??? }??? else??? {??????? printf("普通玩家");??? ??? }??? return 0;}
不加也是可以的。望采納。
哪里不懂可以再提問(wèn)
笑丶而不語(yǔ) 提問(wèn)者
慕碼人1608616
#include <stdio.h>
int main()?
{
? ? int score = 7200;
? ??
? ? //完善一下代碼
? ? if(score>=10000)
? ? {
? ? ? ? printf("鉆石玩家");
? ? }
? ? else if(score>=5000&&score<=10000)
? ? ? ? printf("白金玩家"); ? ?
? ? else if(score>=1000&&score<=5000)
? ? ? ? printf("青銅玩家"); ? ??
? ?else
? ? ? ? printf("普通玩家"); ? ?
? ? return 0;
}
舉報(bào)
C語(yǔ)言入門視頻教程,帶你進(jìn)入編程世界的必修課-C語(yǔ)言
3 回答請(qǐng)教一下這個(gè)問(wèn)題
5 回答這題誰(shuí)會(huì)教下
3 回答請(qǐng)教下這個(gè)怎么弄
2 回答請(qǐng)教一下,
4 回答請(qǐng)教一下,
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-11-04
#include <stdio.h>
int main()
{
??? int score = 7200;
??? //完善一下代碼
??? if(score>=10000)
??? {
??????? printf("鉆石玩家");
??? }
??? else if (score>=500)
??? {
??????? printf("白金玩家");???
??? }
??? else if (score>=1000)
??? {
??????? printf("青銅玩家");????
??? }
??? else
??? {
??????? printf("普通玩家");???
??? }
??? return 0;
}
不加也是可以的。望采納。
2016-10-16
哪里不懂可以再提問(wèn)
2016-10-16
#include <stdio.h>
int main()?
{
? ? int score = 7200;
? ??
? ? //完善一下代碼
? ? if(score>=10000)
? ? {
? ? ? ? printf("鉆石玩家");
? ? }
? ? else if(score>=5000&&score<=10000)
? ? {
? ? ? ? printf("白金玩家"); ? ?
? ? }
? ? else if(score>=1000&&score<=5000)
? ??
? ? {
? ? ? ? printf("青銅玩家"); ? ??
? ? }
? ?else
? ? {
? ? ? ? printf("普通玩家"); ? ?
? ? }
? ? return 0;
}