title: Unclassifiable statement in an equation in Fortran
body: <p>So far my code is working properly except I am now getting a compiler error error like this:</p>
  
  <pre><code>std =std +((x(I) -xbar))**2)
   1
  Error: Unclassifiable statement at (1)
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>program cardata
  implicit none
  real, dimension(291) :: x
  intEGER I,N
  double precision date, odometer, fuel
  real :: std=0
  real :: xbar=0
  
  
  
    open(unit=10, file="car.dat", FOrm="FORMATTED", STATUS="OLD", ACTION="READ")
    read(10,*) N
    do I=1,N
  
    read(10,*) x(I)
    xbar= xbar +x(I)
  
    enddo
    xbar = xbar/N
    DO I =1,N
  std =std +((x(I) -xbar))**2
    enddo
    std = SQRT((std / (N - 1)))
  
    print*,'mean:',xbar
    print*, 'std deviation:',std
    close(unit=10)
    end program cardata
  </code></pre>
  
  <p>I am fairly new to this, any input will be greatly appreciated.</p>