public static void Main()
Console.WriteLine("x+(y/z)*w=?");
Console.Write("Enter the first term: ");
string sx = Console.ReadLine();
double x = Convert.ToDouble(sx);
Console.Write("Enter the second term: ");
string sy = Console.ReadLine();
double y = Convert.ToDouble(sy);
Console.Write("Enter the third term: ");
string sz = Console.ReadLine();
double z = Convert.ToDouble(sz);
Console.Write("Enter the fourth term: ");
string sw = Console.ReadLine();
double w = Convert.ToDouble(sw);
double answer = x+(y/z)*w;
Console.WriteLine(""+ x + "+" + "(" + y + "/" + z + ")" + "+" + w + "=" + answer);