~cpp #include<iostream> #include <fstream> using namespace std; void enpass() { ifstream input("input.txt"); ofstream output("output.txt"); char a[100]; int i=0; while( input.get(a[i]) ) { output << (char) ((int) a[i] + 40); i++; } cout << endl; } void depass() { ifstream input("output.txt"); ofstream output("output2.txt"); char a[100]; int i = 0; while (input.get(a[i]) ) { output << (char) ((int)a[i]+216); i++ ; } cout << endl; } int main() { //enpass(); depass(); return 0; }