Skip to main content
2 of 3
deleted 26 characters in body
Howard
  • 23.6k
  • 2
  • 44
  • 83

###GolfScript, 80 72 Characters###

.).46={;)}*25,{65+.32+}%?)\""=*!!\([{)..31&26-!26*-}25*;]n+\"."=n" "if**

Lots of the code is testing for valid input and the "print nothing"-option. The actual logic is 37 characters only.

Test cases online

Howard
  • 23.6k
  • 2
  • 44
  • 83