This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
// main line of program public static void main (String[] args) { String plainText; String cipherText; plainText = "abcdefg"; cipherText = encrypt(plainText); System.out.println(cipherText); } }
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
perhaps } while (!found && 1 < n);
should be } while (!found && i < n);
and for (int n=0; n <= str.length(); n++) {
should be for (int n=0; n < str.length(); n++) {
Robert Hopping
Greenhorn
Joined: Dec 12, 2004
Posts: 2
posted
0
Thank you for your assistance. I can never find my own typos (1 instead of i). Everything is now working.