okay i can't do it. i've been at it the entire day and i still can't figure out how to put everything together
oh well, thanks for helping
Type: Posts; User: JavaN3wbie
okay i can't do it. i've been at it the entire day and i still can't figure out how to put everything together
oh well, thanks for helping
um sorry to sound stupid but what's a column?
but how do i put that into my if-else statement? and can i loop it or do i have to make a different int for every time?
and I'm using string, not char. i don't know how to use char yet ;(
i've tried every loop method and none seem to work
i did the do-while loop and for loop with int i and i += i; but the multiple letters didn't come out.
sorry i'm still stuck on what to do. can you give me an example?
Sorry, I'm kind of confused.
Is it something like this:?
for (int i = 0; i <= secretWord.length(); i++){
if (secretWord.indexOf(letterGuess,i)....
cause I tried that and it didn't work.
Hi everyone,
I've been struggling on a hangman game the past few hours and I got almost everything down except the multiple letters part.
Like if the word is "camera" but whenever the user inputs...