Skipping over Scanf statement in C

后端 未结 4 1726
别那么骄傲
别那么骄傲 2021-01-29 15:50

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

4条回答
  •  被撕碎了的回忆
    2021-01-29 16:33

    You are checking number but seems that you must check wordLength variable, and (as pointed out by @Narkha) use break instead of continue to exit from loop.

提交回复
热议问题