Square every digit of a number ruby
If we run 9119 through the function, 811181 will come out, because 92 is 81 and 12 is 1.
0
Source: stackoverflow.com
Square every digit of a number ruby
0
- 0 vote196 views1 answer
- 2 votes209 views1 answer
- 0 vote188 views1 answer
- 1 vote183 views1 answer
- 0 vote181 views1 answer
- 0 vote174 views1 answer
- 0 vote185 views1 answer
- -1 vote174 views1 answer
- 0 vote239 views1 answer
- 0 vote192 views1 answer