View Single Post
  #9  
Old 11-01-2005, 12:38 PM
crunchy1 crunchy1 is offline
Senior Member
 
Join Date: Jan 2005
Location: Boogie Woogie!!
Posts: 785
Default Re: $10 to finish this java program for me

[ QUOTE ]
It is harder because it's not just one character. The input is going to be something like 82 123 43 95 and it has to recognize the individual numbers.

[/ QUOTE ]
What the input is going to be is irrelevant - it should be able to be anything.

Work out a plan before you start thinking of the actual code. Here's a possible solution:

- You have an input string
--- Determine the total length of that string (accounting for ALL characters)
--- Create a loop that will execute a number of times equal to the length of the string
--- In each iteration of the loop
----- Find the character at the position in the string for that # iteration
----- Convert this character
----- Add the converted character to a second string that will be used to display the result
Reply With Quote