#include main() { // Read from several files diff cross sections //and writes in a file. float ang, dumb1, diff,d2,d3,d4,d5,d6,d7,d8,d9,d10; float dum,nfl,nflb,pol,flip,flib; int i; FILE *f1; f1=fopen("he3-sf.dat","r"); for(i=0;i<62;i++){ fscanf(f1,"%f %f %e %e %e %f %f %e %e %f %f %e",&ang,&dumb1,&diff,&d2,&d3, &d4,&d5,&d6,&d7,&d8,&d9,&d10); fscanf(f1,"%e %e %e %e %e",&nfl,&nflb,&pol,&flip,&flib); printf("%5.3lf %10.2e %10.2e %10.2e\n",ang,diff, nfl,flip); } fclose(f1); }