This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to print each string value

 
karthik swamy
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jkk
 
Piotr Nowicki
Ranch Hand
Posts: 611
1
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder why did you put basic Java question in EJB certification forum... Neverthless I assume that some good bartender will move the topic to the right section and meanwhile:

Did you analyze the code and ask yourself what might be the problem?
Hint: how does your code is supposed to know that you want to print first, second, third, ... letter of the given word?

Cheers,

PS. Please use code tags to make your code more readable
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic