public static void Main()
Console.WriteLine("Welcome to the calculator. Press enter.");
Console.Write("Enter the first number in your basic equation: ");
firstNum = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter the second number in the basic equation: ");
secondNum = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter the operation ( x , / , +, -): ");
operation = Console.ReadLine();
answer = firstNum * secondNum;
Console.WriteLine(firstNum + " x " + secondNum + " = " + answer);
else if (operation == "/")
answer = firstNum / secondNum;
Console.WriteLine(firstNum + " / " + secondNum + " = " + answer);
else if (operation == "+")
answer = firstNum + secondNum;
Console.WriteLine(firstNum + " + " + secondNum + " = " + answer);
else if (operation == "-")
answer = firstNum - secondNum;
Console.WriteLine(firstNum + " - " + secondNum + " = " + answer);
Console.WriteLine("Sorry that is not correct format! Please restart!");