
CodePudding user response:
If you want to enter the five words, do not use gets, gets is to read a line of characters, use the scanf input, in addition, the semicolon you gets behind a for loop above are removedCodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html