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 TrainingC_Sharp
- {
- class Program
- {
- static void Main()
- {
- Console.WriteLine("Number 1: ");
- int x = int.Parse(Console.ReadLine());
- Console.WriteLine("Number 2: ");
- int y = int.Parse(Console.ReadLine());
- Console.WriteLine(x + y);
- Console.ReadLine(); //We have this so the program pauses and don't closes directly when you open it.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement