题解 | #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);
    }
}

全部评论

相关推荐

想踩缝纫机的小师弟练...:不理解你们这些人,要放记录就把对方公司名字放出来啊。不然怎么网暴他们
点赞 评论 收藏
分享
03-28 16:43
佛山大学 Java
不知该咋办:简历2.0,各位佬看看,这样可以吗查看图片
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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