@ Sorinx Post some pseudocode on here and explain to me what you mean. If you enter a UPC code into an array and you use your technique then the UPC array should not be an int array. It should be a string. Unless he is hard coding the int array like such
Code:
UPC[]={1,4,7,9,3........};
I fail to see how your code will work... Unless the user inputs the UPC number one integer at a time. Randy, are you supposed to enter the UPC code like this 1 enter 4 enter 5 enter..... Or, is it supposed to be one number like 487233455... enter.