Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 333 Bytes

04-CaesarCipher.md

File metadata and controls

15 lines (12 loc) · 333 Bytes

CaesarCipher

The problem

Write a function f(N, M) that shifts all charachters of N by the value M

  • ignore whitespace
  • preserve casing
  • loop back to begining when reaching the end of alphabet
  • M can be both positive and negative

Concepts

  • modulus
  • String and array manipulation
  • String and array methods

Note: