题解 | #KiKi算期末成绩#

KiKi算期末成绩

https://www.nowcoder.com/practice/4ef07b4f80fc4027a4b90e2245f8f637

#include <stdio.h>

int main()
{
    int exper = 0;
    int perfor = 0;
    int pro = 0;
    int exam = 0;

    while (4 == scanf("%d %d %d %d", &exper, &perfor, &pro, &exam))
    {
        printf("%.1f\n", exper * 0.2 + perfor * 0.1 + pro * 0.2 + exam * 0.5);
    }    
    
}

全部评论

相关推荐

程序员小白条:你不是有一段实习了吗,现在找中大厂实习?过段时间要秋招了
我的简历长这样
点赞 评论 收藏
分享
牛客刘北:如果暑期实习是27届的话,你要晚一年才会毕业,企业为什么会等你呢?要搞清时间逻辑呀!27届现在实习只能是在暑假实习,这是日常实习,不是暑期实习。所以多去投日常实习吧,暑期实习肯定不会要你的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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