Strip the newline if it's there (fgets puts it in the buffer), and check the string for valid input. I would either use a simple loop with ...
確定! 回上一頁