Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int first = int.Parse(Console.ReadLine());
- int second = int.Parse(Console.ReadLine());
- int third = int.Parse(Console.ReadLine());
- int fourth = int.Parse(Console.ReadLine());
- int result = ((first + second) / third) * fourth;
- Console.WriteLine(result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement