Update cv1/program.c

This commit is contained in:
Yurii Chechur 2024-10-02 18:55:19 +00:00
parent c697731ab5
commit bd738e95b8

View File

@ -20,9 +20,9 @@ void normalize(char* str) {
case 'e': str[i] = '3'; break; case 'e': str[i] = '3'; break;
case 'a': str[i] = '4'; break; case 'a': str[i] = '4'; break;
case 's': str[i] = '5'; break; case 's': str[i] = '5'; break;
case 'd': str[i] = '6'; break; // 'b' mapped to '6' case 'b': str[i] = '6'; break; // 'b' mapped to '6'
case 't': str[i] = '7'; break; case 't': str[i] = '7'; break;
case 'b': str[i] = '8'; break; case 'g': str[i] = '9'; break;
case 'q': str[i] = '9'; break; case 'q': str[i] = '9'; break;
// We keep 'r', 'y', 'n', and 'd' unchanged to ensure proper matching // We keep 'r', 'y', 'n', and 'd' unchanged to ensure proper matching
default: break; default: break;