Go function method?


```
func isNumber(n int) bool {
    var i, j, k int
    i = n % 10
    j = (n / 10) % 10
    k = (n / 100) % 10

    sum := i*i*i + j*j*j + k*k*k
    return sum == n
}
```
Dec.30,2021

A three-digit integer. Whether the sum of the third power of each digit is equal to this three-digit number

Menu