about | help | code help+videos | done | prefs |
Given a string of length 1, when it is not a letter return the same string, otherwise shift it up (shift the ASCII value up) by 13 places. When you pass 'z' or 'Z', wrap back around to 'a' or 'A' (respectively) rot13Char('A') → 'N' rot13Char('B') → 'O' rot13Char('Z') → 'M' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy