The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique.
It used to be to 10-digit long. Recently it is changed to 13-digit.
For example, a= '0-306-40615-2' is in ISBN-10 format.
ISBN-10 check digit (which is the last digit of the 10-digit ISBN) must range from 0 to 10 (the symbol 'X' is used for 10) and must be such that the sum of the ten digits, each multiplied by its (integer) weight, descending from 10 to 1, is a multiple of 11.
ISBN-13 uses a different approach to calculate the check digit.
For this problem, u've to calculate the check digit for ISBN-10.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers23
Suggested Problems
-
Number of 1s in a binary string
11056 Solvers
-
Set the array elements whose value is 13 to 0
1439 Solvers
-
540 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1740 Solvers
-
Convert from Fahrenheit to Celsius
27967 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!