func_code_string: #include <bits/stdc++.h>   int main() {     char x[205];     scanf( %s , x);     for (int i = 0; i < strlen(x); i++) {       if (x[i] ==  . ) {         x[i] =  0 ;         printf( %c , x[i]);       }       if (x[i] ==  -  && x[i + 1] ==  . ) {         x[i] =  1 ;         printf( %c , x[i]);         i = i + 1;       }       if (x[i] ==  -  && x[i + 1] ==  - ) {         x[i] =  2 ;         printf( %c , x[i]);         i = i + 1;       }     }     return 0;   }   