sum=148.874270o\r#include<stdio.h>\rdoublefun(intn)\r{intij=0;doubles=0;\rfor(i=3;i<=n;i++)\r{for(j=2;j<=iy++)\rif(i%j==0)break;\rif(j==i)s=s+sqrt(i);}\rreturns;\r)\rmain()\r{intn;doublesum;\rprintf("WnWnlnputn:");scanf(n%dn,&n);\rsum=fun(n);\rprintf(H\n\nsum=%f\n\n,,,sum);}\r100. RS`pfun,jT.:M\rS=l+(l+2ä0.5)+(1+2ä0.5+3ä0.5)+.......+(1+2ä0.5+3ä0.5+........+M0.5)\r^_(`O`pÆ|DZn20e(bas=534.188884?\r#include<math.h>\r#include<stdio.h>\rdoublefun(intn)EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r{inti;\rdoubles=0.0,sl=0.0;\rfor(i=l;i<=n;i++)\r{sl=sl+pow(i,0.5);\rs=s+sl;}\rreturns;\r)\rmain()\r(\rFILE*wf;\rintn;\rdoubles;\rprintf(H\n\nInputn:");\rscanf(u%d”,&n);\rs=fun(n);\rprintf("\n\ns=%f\n\n",s);\rwf=fopen(,,out.dat,,/'wn);\rfprintf(wf,H%f,,,fun(20));\rfclose(wf);\r)