题解 | #(a+b-c)*d的计算问题#
(a+b-c)*d的计算问题
https://www.nowcoder.com/practice/9df4b80fc3ab475288e5c26972440e1b
using System; public class Program { public static void Main() { string[] s = Console.ReadLine().Split(" "); Console.WriteLine((int.Parse(s[0])+int.Parse(s[1])-int.Parse(s[2]))*int.Parse(s[3])); } }