using System.Collections.Generic;
using System.Threading.Tasks;
static void Main(string[] args)
Console.WriteLine("CALCULATOR");
Console.WriteLine("This calculator was created by Joaquin.");
Console.WriteLine("If you would like the instructions press y then enter if not just press enter.");
string response = Console.ReadLine();
Console.WriteLine("This calculator does basic operations,");
Console.WriteLine("For example adding represented by +");
Console.WriteLine("Or subtracting with -.");
Console.WriteLine("Other operations include multiplying or dividing with * and / respectively.");
Console.WriteLine("Squaring and cubing is done with sq as the operation or cb depending on which one.");
Console.WriteLine("taking the square root of a number is done with sq rt.");
Console.WriteLine("please enter the first or only number in your calculation then press enter.");
double firstOperand = double.Parse(Console.ReadLine());
Console.WriteLine("now please enter your operation and then enter.");
string operation = Console.ReadLine();
Console.Write("Your answer is ");
double answer = firstOperand * firstOperand;
Console.WriteLine(answer);
else if (operation == "cb")
Console.Write("Your answer is ");
double answer = firstOperand * firstOperand * firstOperand;
Console.WriteLine(answer);
else if (operation == "sq rt")
Console.Write("Your answer is ");
double answer = Math.Sqrt(firstOperand);
Console.WriteLine(answer);
else if (operation == "+")
Console.WriteLine("please enter your second number");
double secondOperand = double.Parse(Console.ReadLine());
Console.Write("Your answer is ");
double answer = firstOperand + secondOperand;
Console.WriteLine(answer);
else if (operation == "-")
Console.WriteLine("please enter your second number");
double secondOperand = double.Parse(Console.ReadLine());
Console.Write("Your answer is ");
double answer = firstOperand - secondOperand;
Console.WriteLine(answer);
else if (operation == "*")
Console.WriteLine("please enter your second number");
double secondOperand = double.Parse(Console.ReadLine());
Console.Write("Your answer is ");
double answer = firstOperand * secondOperand;
Console.WriteLine(answer);
else if (operation == "/")
Console.WriteLine("please enter your second number");
double secondOperand = double.Parse(Console.ReadLine());
Console.Write("Your answer is ");
double answer = firstOperand / secondOperand;
Console.WriteLine(answer);
Console.WriteLine("YOU USED THE CALCULATOR WRONG!");
Console.WriteLine("Please press enter");