program.c
This commit is contained in:
parent
5fd67120ee
commit
a138eedb1c
@ -8,17 +8,18 @@
|
||||
|
||||
char hacker_script(char c) {
|
||||
|
||||
if (isupper(c)) {
|
||||
c = tolower(c);
|
||||
}
|
||||
|
||||
char numbers[] = "0123456789";
|
||||
char letters[] = "oizeasbtbq";
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
if (c == numbers[i]) {
|
||||
return letters[i];
|
||||
}
|
||||
}
|
||||
|
||||
if(isupper(c)){
|
||||
return tolower(c);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user