//If you want to stop this program, input "abc" and hit the enter.
using System.IO;
using System;
class Program
{
static void Main()
{
while(true){
Console.WriteLine("Please enter the first number:");
string Num1 = Console.ReadLine();
int d = 0;
if(!int.TryParse(Num1, out d))
{
Console.WriteLine("Please enter only numeric letters.");
return;
}
Console.WriteLine("Please enter the second number:");
string Num2 = Console.ReadLine();
int e = 0;
if(!int.TryParse(Num2, out e)){
Console.WriteLine("Please enter only numeric letters.");
return;
}
int iNum1 = int.Parse(Num1);
int iNum2 = int.Parse(Num2);
int sum = iNum1 + iNum2;
int difference = iNum1 - iNum2;
long product = iNum1 * iNum2;
double quotient = (double)iNum1 / (double)iNum2;
Console.WriteLine();
Console.WriteLine(Num1 + " + " + Num2 + " = " + sum);
Console.WriteLine(Num1 + " - " + Num2 + " = " + difference);
Console.WriteLine(Num1 + " x " + Num2 + " = " + product);
Console.WriteLine(Num1 + " / " + Num2 + " = " + quotient + "\n");
}
}
}