title: Fortran's "Read" and "Print" don't work in a terminal
body: <p>I am new in Linux environment and now I am starting to use Mac OS X's Terminal. Long time ago, I always coded Fortran in Plato editor. Now I want to run this simple code:</p>
  
  <pre><code>program sum
  real :: answer,x,y
  print *, 'Enter two numbers' read *, x
  read *, y
  answer=x+y
  print *, 'The total is ', answer 
  end program sum
  </code></pre>
  
  <p>In Plato, running this code will trigger the console to ask the user to input values owing to the <code>read</code> statement in the code above. But when I run it through Bash Terminal using </p>
  
  <pre><code>$ gfortran -llapack sum.f95
  </code></pre>
  
  <p>It shows the following messages</p>
  
  <pre><code>sum.f95:4:28:
  
  print *, 'Enter two numbers' read *, x
                          1
  Error: Syntax error in PRINT statement at (1)
  sum.f95:7:33:
  
  print *, 'The total is ', answer end program sum
                               1
  Error: Syntax error in PRINT statement at (1)
  f951: Error: Unexpected end of file in ‘sum.f95’
  </code></pre>