using System;
class Program
{
static void Main()
{
//Reading First Number
Console.Write("Enter No1: ");
int a = Convert.ToInt16(Console.ReadLine());
//Reading Second Number
Console.Write("Enter No2: ");
int b = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("1.Addition");
Console.WriteLine("2.Subtraction");
Console.WriteLine("3.Divsion");
Console.WriteLine("4.Multiplication");
Console.WriteLine("5.Increment");
Console.WriteLine("6.Decrement");
//Reading a Choice
int c = Convert.ToInt16(Console.ReadLine());
switch(c)
{
case 1:
Console.WriteLine("Addition Of Two Numbers : "+(a+b));
break;
case 2:
Console.WriteLine("Subtraction Of Two Numbers : " + (a - b));
break;
case 3:
Console.WriteLine("Division Of Two Numbers : " + (a / b));
break;
case 4:
Console.WriteLine("Multiplicaion Of Two Numbers : " + (a * b));
break;
case 5:
Console.WriteLine("Increment Numbers : " + (++a) + " " + (++b));
break;
case 6:
Console.WriteLine("Decrement Numbers : " + (--a)+" "+(--b));
break;
default:
Console.WriteLine("Choose Only 1 To 6 ");
break;
}
Console.ReadLine();
}
}Get two numbers as input from the user and allow the user to choose the arithmetic operation be performed on the input numbers. After entering the two numbers, the user should be asked to enter a number from 1 to 6 to choose the arithmetic operation to be performed. 1. Addition 2. Subtraction 3. Division 4. Multiplication 5. Increment and 6. Decrement
