186k views
5 votes
Is the following UPC code valid? 375407370090. PLEASE SHOW OR EXPLAIN!!!

User JaMaBing
by
7.7k points

1 Answer

2 votes

Answer:

The UPC is not valid..

Explanation:

The Universal Price Code is represented in the form of bars which is scanned when we purchase something.

The last digit of the UPC is the check digit.

Give UPC = 375407370090

To check whether the UPC is valid or not.

Step 1:

Add the digits at odd positions.

3 + 5 + 0 +3 + 0 + 9 = 20

Step 2:

Multiply the number obtained in step 1 by 3

20*3 = 60

Step 3:

The digits at even positions have to be added. The last digit has to be ignored as it is a check digit.

7 + 4 + 7 +7 +0 = 25

Step 4:

Add the numbers obtained in Step 2 and step 3

60 + 25 = 85

Step 5:

The number obtained in step 5 is subtracted from the next multiple of 10.

In the above case,

85 will be subtracted from 90.

90 - 85 = 5

For a valid UPC, the answer to step 5 is equal to the last digit of UPC.

In the above case, the answer is 5 which is not equal to zero.

So, the UPC is not Valid.

User Luchux
by
8.9k points

Related questions

asked May 17, 2024 5.9k views
NcJie asked May 17, 2024
by NcJie
8.2k points
1 answer
5 votes
5.9k views
asked Jan 24, 2024 84.5k views
Gusjap asked Jan 24, 2024
by Gusjap
7.5k points
1 answer
3 votes
84.5k views