Is the following UPC number valid Why or why not Is the foll
Solution
The Universal Product Code (UPC) barcodes is a 12 digit number which includes a (modulo-10) check digit which is the twelfth digit, located to the extreme right of the UPC number. The first 11 digits in a UPC barcode are the assigned company prefix and the company-assigned product number.
3.(a)The given number is (without a check digit)1-28376-57837-. Here, the sum of digits at odd places is 1+8+7+5+8+7 = 36. Similarly, the sum of digits at even places is 2+3+6+7+3=21 . Further, 36+21 = 57. Now, the digit, the addition of which to 57 makes the result a multiple of 10, is 3. Hence 3 is the check digit. The correct UPC number is 1-28376-57837-3.
(b) The given number is (without a check digit) 5-37862-45890-. Here, the sum of digits at odd places is 5+7+6+4+8+0 = 30. Similarly, the sum of digits at even places is 3+8+2+5+9=27 . Further, 30+27 = 57. Now, the digit, the addition of which to 57 makes the result a multiple of 10, is 3. Hence 3 is the check digit. The correct UPC number is 5-37862-45890-3.

