Initializacia

This commit is contained in:
Kozar 2024-10-02 18:44:48 +00:00
parent d1379c8427
commit 882b546c87

View File

@ -12,17 +12,18 @@ struct pizza {
}; };
char hacker_script(char l) { char hacker_script(char l) {
switch (tolower(l)) { switch (l) {
case 'o': return '0'; case '0': return 'o';
case 'i': return '1'; case '1': return 'i';
case 'z': return '2'; case '2': return 'z';
case 'e': return '3'; case '3': return 'e';
case 'a': return '4'; case '4': return 'a';
case 's': return '5'; case '5': return 's';
case 'b': return '6'; case '6': return 'b';
case 't': return '7'; case '7': return 't';
case 'q': return '9'; case '8': return 'b';
default: return tolower(l); case '9': return 'q';
default: return l;
} }
} }