1.1 12 digit product codes: Weighted sum of digits (entered one at a time)

Scratch solution