Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- using namespace std;
- int main()
- {
- char c;
- ifstream f("atbash.in");
- ofstream g("atbash.out");
- while(f>>c)
- g<<(char)('Z'-c+'A');
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement