upc_test, a C program which calls upc() to compute the check digit associated with a uniform product code (UPC), or report whether a 12-digit UPC is actually valid.


The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

upc, a C library which determines the check digit for a Uniform product Code (UPC) and reports whether a given UPC is valid.

Source Code:

Last revised on 12 August 2019.