#include main() { // Read from several files diff cross sections //and writes in a file. float re0,im0,re1,im1,re2,im2,re3,im3,re4,im4; int i,tp; FILE *f110; f110=fopen("argas.dat","r"); for(i=0;i<24;i++){ fscanf(f110,"%d %e %e %e %e %e %e %e %e %e %e",&tp,&re0,&im0,&re1,&im1, &re2,&im2,&re3,&im3,&re4,&im4); printf("%10.2e %10.2e\n",re4,im4); } fclose(f110); }