" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <cstring>
using namespace std;
int i, length, JC;
string clear;
int main ()
{cout << "txttt:";
cin >> clear;
length = clear.length();
cout << endl;
cout << length << endl;
cout << endl;
for (i = 0; i < length; i++)
{JC = int (clear[i]) + int (3);
if ((JC >= 90 && JC < 97) || (JC > 122))
{ JC = JC - 26;
}
cout << char (JC);
}
cout << endl;
system ("pause");
return (0);
}
---------
coś takiego ?
wybacz lekką nieprzejrzystość