title: Cannot implicitly convert type 'double' to 'int'. -error
body: <p>Following is an attenmpt to write a C# code to find the area of a circle</p>
  
  <pre><code>using System;
  namespace DataTypeApplication 
  {
      class Program 
      {
          static void Main(string[] args) 
          {
              double area;
              const double pi = 3.14;
              int side;
              Console.WriteLine("enter the radius of circle:");
              side = Convert.ToDouble(Console.ReadLine());
              area = (pi * side * side);
              Console.WriteLine("area is {}", area);
  }
  }
  }
  </code></pre>
  
  <p>it gives an error on the line </p>
  
  <blockquote>
    <p>side = Convert.ToDouble(Console.ReadLine());</p>
  </blockquote>
  
  <p>which says </p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'double' to 'int'. An explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <p>What did I do wrong?</p>