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
- 3 votes216 views2 answers
- 0 vote225 views1 answer
- 5 votes214 views2 answers
- 0 vote237 views1 answer
- 1 vote227 views1 answer
- 0 vote227 views1 answer
- 2 votes236 views2 answers
- -1 vote233 views1 answer
- 1 vote235 views1 answer
- 4 votes236 views1 answer