I have this C program:
#include <stdio.h>
#include <math.h>
main() {
  int I;
  double A[3]={0.0, 1.0, 2.0};
  double B[3]={0.0, 1.0, 2.0};
  double C[3]={0.0, 1.0, 2.0};
  double X[3];
  for (I=0; I<3; I++) {
      X[I] = A[I] * ( B[I] - C[I] )**2;
  }
}
compiling produces an error:
invalid type argument of 'unary *' (have 'int')
How should I fix this?
 
     
    