check-cashing cards

check-cashing cards

A company that issues check-cashing cards uses a software to create card numbers. The software
adds the digits of a four-digit number, and then adds a fifth digit of 0 or 1 to make the sum of the
digits even. The last digit in the number is called the check digit. Write a program that accepts a fourdigit
number into one variable, adds the check digit, and prints the original number and the new
number. Examples: Original number = 4737 (47371) and 4631 (46310).

check-cashing cards

READ ALSO :   Burke: The Day Universe Change