Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace homework_2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int num1;
- int num2;
- int num3;
- int sum;
- Console.WriteLine("Insert The First Number: ");
- num1 = int.Parse(Console.ReadLine());
- Console.WriteLine("Insert The Second Number:");
- num2 = int.Parse(Console.ReadLine());
- Console.WriteLine("Insert The Third Number: ");
- num3 = int.Parse(Console.ReadLine());
- sum = num1 + num2;
- Console.WriteLine("The Sum Of The First Number + Second Number Times The Third: " + sum*num3);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement