- Category:
- Other systems
- Tags:
-
- File Size:
- 41kb
- Update:
- 2017-11-30
- Downloads:
- 0 Times
- Uploaded by:
- yx
Description: Below UPC: is a method of calculating the checkout bit: first, the first, third, fifth, seventh, ninth, and eleventh digit numbers are added. Then add second, fourth, sixth, eighth, and tenth digits. Then the first addition result is multiplied by 3 and then added with the result of second additions. Then, the above results were subtracted from 1. The result after the subtraction is divided by 10 to take the remainder. Finally, the remainder obtained in the last step is subtracted with 9.
input
Each time input three lines of data, the first line is the first number of UPC, the second line is the first set of five digit numbers of the UPC, and the third line is the second group of five digit numbers of the UPC.
output
Check bits of UPC
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
UPC.c | 488 | 2017-11-16
|
UPC.exe | 131176 | 2017-11-16 |