An ISBN-10 book number has nine digits d1…d9 followed by a check digit:
check = (d1×1 + d2×2 + d3×3 + … + d9×9) % 11
If the result is 10, the check digit is written X. Isbn10 reads the first nine digits as one int (so leading zeros are lost: 013601267 is read as 13601267), extracts the nine digits with / and %, and prints the check digit and the full ISBN — with its leading zeros.
For the input
013601267
the program prints
Check digit: 1
The ISBN-10 number is 0136012671