You're doing it in the right way but your input is expecting a string instead of a char, just change it like so: scanf("%c",&a); And you're ready to go! 30th ...
確定! 回上一頁