DEV Community

loading...

Discussion on: Daily Challenge #260 - Subtract the Sum

Collapse
pinotattari profile image
Riccardo Bernardini

Sum all the digits of n.

Base ten is implicit, I suppose.