about | help | code help+videos | done | prefs |
(EASY) Given an input String and a char key, return the String after a key-character Caesar cipher where all the input letters are shifted up key letters ('A'==1, 'B'==2 etc.). This is also sometimes called a Vignere cipher. Precondition: the input String will have only capital letters in it, the input key will be a capital letter too. apcsaEncryptCaesarStringKey("ABC", "A") → "BCD" apcsaEncryptCaesarStringKey("HI", "B") → "JK" apcsaEncryptCaesarStringKey("ZZTOP", "C") → "CCWRS" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 350
Copyright Nick Parlante 2017 - privacy