Part B: Calculate the missing check digit in ISBN An International Standard Book Number (ISBN) is a unique number assign

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Part B: Calculate the missing check digit in ISBN An International Standard Book Number (ISBN) is a unique number assign

Post by answerhappygod »

Part B Calculate The Missing Check Digit In Isbn An International Standard Book Number Isbn Is A Unique Number Assign 1
Part B Calculate The Missing Check Digit In Isbn An International Standard Book Number Isbn Is A Unique Number Assign 1 (94.39 KiB) Viewed 25 times
Part B: Calculate the missing check digit in ISBN An International Standard Book Number (ISBN) is a unique number assigned to each book. ISBN-13 has thirteen digits in 5 parts, in which the last digit is the "check digit". The check digit is base ten, and can be 0-9. To compute a missing check digit, each digit, from left to right, is alternatively multiplied by 1 or 3. Then, the sum of these products should be divided by 10 to find the remainder ranging from 0 to 9. Finally, the check digit can be found by subtracting the remainder from 10, that leaves a result from 1 to 10. For example, take the ISBN 978-0-306-40615-? : a) First calculate sum of products: 9x1 +7x3+8x1+0x3+3x1 +0x3+6×1+4×3 +0x1+ 6x3+ 1x1 + 5×3 = 93 b) Remainder upon dividing by 10 is 3. c) Remainder is subtracted from 10. d) Check digit is 7 (10-3). For more information, watch the following Youtube video about finding the missing check digit of an ISBN number: Page 1 of 2 Exercise 5 [4 marks]: Write a C program that gets the first twelve digits of ISBN-13, and displays the corresponding check digit. However, you are allowed to call the scanf(...) function only once. Hint: To read single digits, we'll use scanf with the %ld conversion specification. The number that comes before "d" in the conversion specifier indicates the length of the integer that scanf actually reads from the input. Sample input: Enter the first twelve digits of ISBN-13: 978030640615 Sample output: Check digit: 7 Group Publisher Check digit Title ISBN 817525766-0 788175 257665 Group Title Publisher Check digit
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply