class Program
{
static void Main(string[] args)
{
int a, b, c;
Console.WriteLine("Enter
two numbers : ");
a
= int.Parse(Console.ReadLine());
b
= int.Parse(Console.ReadLine());
c
= a;
a
= b;
b
= c;
Console.WriteLine("After Swapping ");
Console.WriteLine("a
= " + a + ", b = " +
b);
Console.ReadLine();
}

No comments:
Post a Comment