Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
264 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;
int main()
{
	string str;

	getline(cin, str);

	for (int i = 0; i < str.size(); i++)
	{
		if (str[i] != ' ') {
			str[i] += 2;
			if (str[i] > 'z')str[i] -=26;
		}
	}

	cout << str;
	
}