Posts

Showing posts from April, 2020

ISBN Number in JAVA [Updated]

Program to Check ISBN Number ISBN Number :  ISBN stands for International Standard Book Number. It is a unique numeric book identifier which is printed on every book. The ISBN is based upon  10 Digit Code . The ISBN Number is valid if :- (10  X  Digit 1  +  9  X  Digit 2  +  8  X  Digit 3  +  7  X  Digit 4 + 6  X  Digit 5  +  5  X  Digit 6  +  4  X  Digit 7  +  3  X  Digit 8 + 2  X  Digit 9  +  1  X  Digit 10) is Divisible by  11. Example: ISBN   : 1401601499 Sum   : 10*1 + 9*4 + 8*0 + 7*1 + 6*6 + 5*0 + 4*1 + 3*4 + 2*9 + 1*9 = 132 132 is divisible by 11 Output : Correct ISBN number. Algorithm and Program given below  :-