Promoting letters in a string to the next letter in java
Posted
by
CSD1988
on Stack Overflow
See other posts from Stack Overflow
or by CSD1988
Published on 2011-01-15T06:13:51Z
Indexed on
2011/01/15
6:53 UTC
Read the original article
Hit count: 165
I'm having issues figuring out how to get my code to increment the string that is given by user input so that when a user chooses to replace a letter like z it would go to a, b to c ect. The catch is I have to do this without using boolean. I am supposed to get this by using arithmetics to get the promotion from z to a from the users input. Plus must be only lower case letters from a-z. Any help would be appreciated thanks.
© Stack Overflow or respective owner