<mosaic.cnfolio.com>
PROGRAM
  1. /*
  2. Program start
  3.  
  4. string = hello world
  5. cipher key = 13+1
  6.  
  7. substitute h with o
  8. substitute e with p
  9. substitute l with q
  10. substitute l with q
  11. substitute o with r
  12. substitute w with s
  13. substitute o with r
  14. substitute r with t
  15. substitute l with q
  16. substitute d with u
  17.  
  18. cipher applied
  19. cipher = opqqr srtqu
  20.  
  21. Program end
  22. */
  23.  
  24. #include <stdio.h>
  25. #include <string.h>
  26.  
  27. int main(int numbers)
  28. {
  29.    int number1 = 0;
  30.    if (numbers < 0)
  31.    number1 = 1;
  32.    
  33.    while (numbers)
  34.    {
  35.       numbers /= 10;
  36.       number1++;
  37.    }
  38.    
  39.    return number1;
  40.  
  41. }