using System;
namespace Addtion
{
class Program
{
static void Main(string[] args)
{
int first, second, add;
Console.Write("Enter The Addtion Value=");
first = Convert.ToInt32(Console.ReadLine());
second = Convert.ToInt32(Console.ReadLine());
add = first + second;
Console.WriteLine("Addtion Value="+add);
}
}
}
Output:-
Enter The Addtion Value=10
20
Addtion Value=30
Previous Next
namespace Addtion
{
class Program
{
static void Main(string[] args)
{
int first, second, add;
Console.Write("Enter The Addtion Value=");
first = Convert.ToInt32(Console.ReadLine());
second = Convert.ToInt32(Console.ReadLine());
add = first + second;
Console.WriteLine("Addtion Value="+add);
}
}
}
Output:-
Enter The Addtion Value=10
20
Addtion Value=30
Previous Next
No comments:
Post a Comment