id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > wrapAroundLetters
prev  |  next  |  chance

Wrtie a method that has a string as input that returns a string of the same length as the input string after processing the input string in the following way: convert all letters to lower-case; shift all letters to the next letter, but wrap 'z' around to 'a'; leave all non-letter symbols alone. For example: "Tan SPF30" becomes "ubo tqg30". Look at other test data for additional examples.


wrapAroundLetters("") → ""
wrapAroundLetters("Why did 789?") → "xiz eje 789?"
wrapAroundLetters("432") → "432"

...Save, Compile, Run (ctrl-enter)

public String wrapAroundLetters(String str) }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 220

Copyright Nick Parlante 2017 - privacy