static void Main(string[] args) { string function = ""; double value = 0; Console.WriteLine("Enter your function: "); function = Console.ReadLine(); Console.WriteLine("Enter your value: "); value = Convert.ToDouble(Console.ReadLine()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)