题解 | #(a+b-c)*d的计算问题#

(a+b-c)*d的计算问题

https://www.nowcoder.com/practice/9df4b80fc3ab475288e5c26972440e1b

using System;

public class Program {
    public static void Main() {
        string[] Input = Console.ReadLine().Split(" ");
        int a = int.Parse(Input[0]);
        int b = int.Parse(Input[1]);
        int c = int.Parse(Input[2]);
        int d = int.Parse(Input[3]);
        Console.WriteLine((a + b - c)*d);
    }
}

全部评论

相关推荐

猫头夜鹰:图书管理系统能有面试就怪了,放十年前都不行
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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