• Post Reply Bookmark Topic Watch Topic
  • New Topic

Numerology: need help with array  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to do numerology.

It's staying to the FIRST part of the array "asj" and just counts it for every letter typed in. (10 letters, 10 counts of asj, meaning 10 is the answer, and then 1 + 0 = 1... wrong answer....................)

How do I make the letters get looked at with EACH Letter being its own number... (Like 1 is asj, 2 is bkt, 3 is clu , and so on!)

 
Adam Klein
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can also say that you only need to look at this code...

 
Ranch Hand
Posts: 514
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

How can this line compile :

It does not compile for me.

Please explain what exactly you wanna to achieve.
 
Adam Klein
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, since it was a while ago, I asked around my class and I finally got it done....
Thanks for trying!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!