#include int main() { FILE *fp, *fp2; int CODE_NUMBER=0, counter, COD; char c; char opname[100], oname[100]; printf("Enter openfile...\n"); scanf("%s", opname); if ((fp = fopen(opname,"r")) == NULL){ printf("NOT FOUND!\n"); exit(1); } printf("Enter outputfile name...\n"); scanf("%s",oname); printf("Enter CODENUMBER...\n"); scanf("%d", &CODE_NUMBER); printf("Please wait...\n"); fp2 = fopen(oname,"w"); printf("NOW CODING...\n"); while ((c=getc(fp)) != EOF){ COD = c; putc(COD + CODE_NUMBER, fp2); } printf("CODING COMPLETED\n"); fclose(fp); printf("CLOSE %s...\n", opname); fclose(fp2); printf("CLOSE %s...\n", oname); printf("COMPLETED!\n"); }