Explanation. Click to Suggest Your Own Explanation. By using modulus operator(%) on the input int by 10 will extract off the rightmost digit.
確定! 回上一頁