public static void Main()
Console.WriteLine("Hello, welcome to Abdelrani's calculator!");
Console.Write("Enter the first number in your basic equation: ");
firstNum = Convert.ToInt32(Console.ReadLine());
Console.Write("Now enter your second number in the basic equation: ");
secondNum = Convert.ToInt32(Console.ReadLine());
Console.Write("Ok now enter your 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!");
Console.Write("Start again? (Y)es (N)o");
action = Console.ReadLine().ToLower();
if (action == "yes" || action == "y")
Console.WriteLine("Restarting...");
Console.WriteLine("Thank you!");