题解 | #成绩输入输出#

成绩输入输出

https://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c

#include <stdio.h>

int main() {
    int score1,score2,score3;
    scanf("%d%d%d",&score1,&score2,&score3);
    if(score1>=0&&score1<=100&&score2>=0&&score2<=100&&score3>=0&&score3<=100)
    printf("score1=%d,score2=%d,score3=%d\n",score1,score2,score3);

    return 0;
}

全部评论

相关推荐

04-17 10:16
门头沟学院 Java
小浪_coder:24届很难找了,马上25的都毕业了还有很多没找到的
点赞 评论 收藏
分享
Wy_m:只要不是能叫的上名的公司 去实习没有任何意义 不如好好沉淀自己
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务