I wrote this program it's ment to calculate the suqar root of number form 1-10 and store it in the array but i can'nt seem to make it work.
#include <stdio.h>
#include <math.h>
#define SIZE 10
int main()
{
double x[SIZE];
//double r;
int i;
for (i=1; i<=SIZE; i++)
{
x[] = sqrt (x) ;
printf("%lf\n",x[SIZE] );
}
return 0;
}