Visual Studio Code – Cannot implicitly convert type 'void' to 'int'
int num; int num2; Console.Write("insert one number: "); num = Convert.ToInt32(Console.ReadLine()); Console.Write("insert another number: "); num2 = Convert.ToInt32(Console.ReadLine()); int Result = Console.WriteLine(Math.Pow (num, 2)); int result = Console.WriteLine(Math.Pow (num2, 2)); Console.Write("the square roots of the given numbers are: "+ num…