Created
September 16, 2019 08:56
-
-
Save gagannn/70ecc30e9f7e606ef174fc0a70144891 to your computer and use it in GitHub Desktop.
Add 2 integers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Add"); | |
int num1; | |
int num2; | |
num1 = Int32.Parse(Console.ReadLine()); | |
num2 = Int32.Parse(Console.ReadLine()); | |
int result = num1 + num2; | |
Console.WriteLine("Result= "+result); | |
Console.ReadKey(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment