Advertisement
phayauam

Código oscuro

Jan 20th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void)
  5. {
  6. int a; int b; int c;
  7. char s[] = "Codigo oscuro";  
  8.  
  9. a = 0;
  10. c = strlen(s);
  11. while (a < c){
  12. b = s[i] + 10;
  13. if (b > 122)
  14. b = b - 90 ;  
  15. printf("%c", b);
  16. a++;
  17. }
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement