title: Fortran runtime error: Bad real number in item 1 of list input
body: <p>I am getting run time error: <code>Bad real number in item 1 of list input</code> for this sample problem. Please, suggest the correct way.    </p>
  
  <pre><code>    implicit double precision (a-h,o-x)
      parameter (ni=150)  
      dimension x(ni)
      open(40,file='fortin')
      do 80 i=1,5
      read(40,*)x(i)
      write(*,*)i,x(i)
  80  continue
      stop
      end
  </code></pre>
  
  <p>The data in the <code>fortin</code> file arranged in column</p>
  
  <pre><code>   1.0     
     5.0     
     3.0
     5.0
     7.0
  </code></pre>