title: C# Hackerrank code produces correct results on Data Types challenge in 30 days of code but says I'm wrong
body: <p>Recently I have tried to solve Day 1 Data types lesson for the 30 days of Code challenge in hackerrank and I've run into a strange road block.The compiler keeps saying that my output is the wrong answer, but I print out the exact same integer double and string. <strong>the only thing that's different is that I don't have a decimal point on my double,which doesn't make sense because The only thing I've done is read from the input,convert the input from a string to a double and then add the two doubles together</strong> </p>
  
  <p>Can you guys help? This is my C# code by the way.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.IO;
  
  
  
  class Solution {
      static void Main(String[] args) {
          int i = 4;
          double d = 4.0;
          string s = "HackerRank ";
  
       //this is the start of my code,the top part is preset by hackerrank
  int a=Convert.ToInt32(Console.ReadLine());
  double x = Convert.ToDouble(Console.ReadLine());
  string l = Console.ReadLine();
  
  Console.WriteLine(a+i);
  Console.WriteLine(d+x);
  Console.WriteLine(s+l);
  
  Console.ReadLine();
  
  }
  }
  </code></pre>
  
  <p>here is there input they want me to use that I am using:</p>
  
  <pre><code>12
  4.0
  is the best place to learn and practice coding!
  </code></pre>
  
  <p>Here is my output :</p>
  
  <pre><code>16
  8
  HackerRank is the best place to learn and practice coding!
  </code></pre>
  
  <p>And The output they want:</p>
  
  <pre><code>16
  8.0
  HackerRank is the best place to learn and practice coding!
  </code></pre>
  
  <p><strong>as you can see my ".0" is missing for my double, any help?</strong></p>