Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace IntegerOperations
- {
- class Program
- {
- static void Main(string[] args)
- {
- int firstNum = int.Parse(Console.ReadLine());
- int secondNum = int.Parse(Console.ReadLine());
- int thurdNum = int.Parse(Console.ReadLine());
- int fourthNum = int.Parse(Console.ReadLine());
- int sum = (firstNum + secondNum) / thurdNum * fourthNum;
- Console.WriteLine(sum);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement