Ruhi Cenet's Blog
Pages
Home
COMPUTER SCIENCE
OTHERS
ABOUT ME
Addition of 2 Numbers
int a, b, c;
Console.WriteLine("enter the a");
a = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the b");
b = Convert.ToInt32(Console.ReadLine());
c = a + b;
Console.WriteLine("The sum is : " + c);
Console.ReadLine();
Newer Post
Older Post
Home