`n d **********/\rmain()\r(\rint n;\rlong int result;\rscanf("%d",&n);\rresult=fun(n);\rprintf("%ld\n",result);\rwwjt();\r}\rvoid wwjt()\r{\rFILE *IN,*OUT;\rint i;\rint ilN;\rlong int iOUT;\rIN=fopen("in.dat","r");\rif(IN=NULL)\r|\rprintf("Please Verify The Curremt Dir..It May Be Changed");\rOUT=fopen("out.dat","w");\rif(OUT=NULL)\r|\rprintf("Please Verify The Current Dir.. It May Be Changed");\rfor(i=0;i< 10;i++)\r(\rfscanf(IN,"%d",&irN);\riOUT=fun(iIN);\rfprintf(OUT,"%ld\n",iOUT);\r}\rfclose(IN);\rfclose(OUT);\r--------------\rint i;.\rfloat f=l,s=O;\rfor(i=l;i<=n;i-H-) { 4 # i;\rs=s+f;}\rreturn s;