Many printed airline tickets contain a 10-digit document number
Question
Many printed airline tickets contain a 10-digit document number followed by a
check digit. The check digit is chosen to be the sum of the first 10 digits mod 7. Determine whether the given number is a valid document number.
8434649758 2
valid
invalid
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
