FILE *gdata;
gdata=fopen("a1.txt","r");
for( n=1;n<=50;n++)
fscanf(gdata,"%f %f %f\n",&x1[n],&y1[n],&z1[n]);
fclose(gdata);
for( n=1;n<=50;n++)
//printf("%f %f %f\n",x1[n],y1[n],z1[n]);
unable to get anything except 0 0 0 entries
where a1.txt file containing numerical data points