// Program to Add two numbers without using Add (+) operatorint a = 42, b = 13;int c = a - ~b - 1;Console.WriteLine("The value of a is " + a + "\n");
Console.WriteLine("The value of b is " + b + "\n");
Console.WriteLine("The Addition of a and b and value of c is " + c);
Console.ReadKey();
No comments:
Post a Comment