Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
292 B
1
Indexable
Never
#include <iostream>
#include <string>
using namespace std;
int main() {
	string n;
	getline(cin, n);
	for (int i = 0; i < n.size(); i++){
		if (n[i] != ' ') {
			n[i] = ((n[i]) + 5);
			if (n[i]-97 > 27) n[i] = (n[i]-97) % 27 + 97;
			

		}
		else n[i] = ' ';
	}
	cout << n;
}