c语言学习 少帅大王 2025-12-02 18 阅读1分钟 int main(){ //选择结构 int score = 0; printf("请输入一个分数:"); scanf("%d",&score); if(score ==100){ printf("恭喜你\n"); printf("100分,可以出去玩5天\n"); }else if(score>=90){ printf("你可以出去玩3天"); }else{ printf("家里蹲3天"); } }