When you use s[i] you are extracting the character (type char) which is an element of the string, so you have to compare it to characters.
確定! 回上一頁