這只要使用除法與餘數運算就可以了,例如要找出所有三位數阿姆斯壯數。 ... int isNarcissistic(double number) { int digits[39] = {0}; double num ...
確定! 回上一頁