题解 | #KiKi算期末成绩#

KiKi算期末成绩

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

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int syscore=sc.nextInt();
        int ktscore=sc.nextInt();
        int gkscore=sc.nextInt();
        int qgscore=sc.nextInt();
        System.out.printf("%.1f",syscore*0.2+ktscore*0.1+gkscore*0.2+qgscore*0.5);
    }
}

全部评论

相关推荐

07-02 10:44
门头沟学院 C++
码农索隆:太实诚了,告诉hr,你能实习至少6个月
点赞 评论 收藏
分享
点赞 评论 收藏
分享
06-12 10:50
门头沟学院 Java
你的不定积分没加C:我怎么在学院群看到了同样的话
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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