public static void Main()
Console.WriteLine("Enter first number: ");
x = int.Parse(Console.ReadLine());
Console.WriteLine("Enter second number: ");
y = int.Parse(Console.ReadLine());
Console.WriteLine("Enter third number: ");
z = int.Parse(Console.ReadLine());
double firstOutcome = (x + y) * z;
double secondOutcome = (x * y) + (y * z);
Console.WriteLine("(x + y) * z is: " + firstOutcome);
Console.WriteLine("(x * y) + (y * z) is: " + secondOutcome);