subroutine

void output_scan(FILE *fp,float *store)

{

float a,b,c,d,e;

int count=0;

while(fscanf(fp,”%f %f %f %f %f”,&a,&b,&c,&d,&e)!=EOF)

{

count=count+1;

store[count*5]=a;

store[count*5+1]=b;

store[count*5+2]=c;

store[count*5+3]=d;

store[count*5+4]=e;

}

}