nt ReadDat(void);\rvoid WriteDat(void);\rvoid CharConvA()\r{ int ij;\rchar p,c;\rfor(i=0;i<maxline;i++)\r{ p=xx[i][strlen(xx[i])-l];\rc=xx[i][0];\rfor(j=strlen(xx[i])-l ;j>0 ;j-)\rxx[i][j]=(xx[i][j]J4)+xx[i][j-l];\rxx[i][0]=p+c;\rvoid main()\r(\rclrscr();\rif(ReadDat()){\rprintf(" k$%IN.DAT± \n\007n);\rreturn;\r|\rCharConvA();\rWriteDat();\r)\rint ReadDat(void)\r(\rFILE *fp;\rint i=0;\rchar *p;\rif((fp=fbpen(HIN.DAr^Hr^)=NULL) return 1;\rwhile(fgets(xx[i],80,fp)!=NULL) {\rp=strchr(xx[i],,\n,);.\rif(p)*p=O;\ri++L\r)\rmaxline=i;\rfclose(fp);\rreturn 0;\rvoid WriteDat(void)\r{\rFILE *fp;\rint i;\rfp=fopen(nOUT 10.DAT'Jw");\rfbr(i=O;i<maxline;i+-i-) {\rprintf("xs\n”,xx[i]);\rfjprintf(fjp,n%s\nn,xx[i]);\r)\rfclose(fp);\r}