Java program to produce check digit for 13 digit ISBN number. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java program to produce check digit for 13 digit ISBN number.

The last digit of an ISBN-13 is a check digit based on the first 12 digits. design and code a program named Checkdigit that generates an ISBN-13 check digit. For each input from the user your program must a) obtain input from the user as a string using the Scanner method next(); b) if the length of the input is 9 characters then prepend with “978” c) generate the check digit

4th Oct 2019, 9:30 PM
Bakchodi Baba
Bakchodi Baba - avatar
1 Answer
0
First try to write code by yourself. If you get any problem then you can ask here.
4th Oct 2019, 9:33 PM
A͢J
A͢J - avatar