public static void Main(string[] args)
Console.WriteLine("Awaiting for x to be pasted...");
string input = Console.ReadLine();
double x = double.Parse(input);
else if (x >= -7 && x <= -3)
else if (x >= -3 && x <= -2)
else if (x >= -2 && x <= 2)
else if (x >= 2 && x <= 4)
Console.WriteLine("f(x)=" + y);