title: Converting Double to Bool
body: <p>I am trying to find if given point is inside a circle and here is my solution for the moment</p>
  
  <pre><code>using System;
  
  //Write an expression that checks if given point (x, y) is inside a circle K({0, 0}, 2).
  
  class Program
  {
      static void Main()
      {
          Console.Write("Enter x: ");
          double x = double.Parse(Console.ReadLine());
          Console.Write("Enter y: ");
          double y = double.Parse(Console.ReadLine());
          bool insideCircle = (double)Math.Sqrt((x * x) + (y + y) &lt;= 2);
  
      }
  }
  </code></pre>
  
  <p>I am getting an error that i cannot convert from bool to double. Can someone help me?</p>