Hi I need help starting this program
The program check to see if a credit card is valid or not
the number is 16 digits long
EX: Card Number 1234567890123456
If the number is evenly divisible then it is validCode:1. Double the value of alternating digits of the credit card number 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 x2 x2 x2 x2 x2 x2 x2 x2 -------------------------------------------------------------------- 1 4 3 8 5 12 7 16 9 0 1 4 3 8 5 12 2. Add all the digits 1 + 4 + 3 + 8 + 5 + 12 + 7 + 16 + 9 + 0 + 1 + 4 + 3 + 8 + 5 + 12 =98 3. Divide the sum by 10 98/10=9.8
If it is not evenly divisible than it is invalud
thanks for the Help Joe