I am writing an objective c program for hangman. I need to replicate another program which has been given to me. I have done most of it, but am having an issue. It has to replic
while (i == 0) will loop as long as i stays at value 0. I don't see i being modified anywhere in your code, so there's probably a bug.
while (i == 0)
i
0
Edit: Alter Mann's answer is even better.