It's strange to ask for the "product of all the possible units digits" here, because then there's no reason to bother checking numbers with a units digit of "1" -- a product will be the same whether we include "1" or not. So you can save yourself a quarter of the work here and only check 3, 7 and 9, which was done perfectly in other solutions above.
↧









