题解 | #成绩输入输出#

成绩输入输出

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;
}

全部评论

相关推荐

想玩飞盘的菠萝蜜在春...:上交✌🏻也拒?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务