You are on page 1of 1

PROBLEM J1: ISBN Enter digit 11 (x). Enter digit 12 (y). Enter digit 13 (z).

-let x be digit 11 -let y be digit 12 -let z be digit 13 -let r be number produced from the 1-3-sum of digits 11, 12, and 13 -let p be 91 (Note 91 was calculated from using the 1-3-sum of the 13 digit number (9780921418) (provided in example) minus the last three numbers (9*1 + 4*3 + 8*1). -let q be sum of r+p

Complete operation, x+3y+z = r

Complete operation, r+91=q

printf (The 1-3-sum is q\n)

You might also like