The book ISBN code (In this home work, you have to use C++ loops, functions, and C++ string)
The book ISBN code (In this home work, you have to use C++ loops, functions, and C++ string)
The International Standard Book Number (ISBN) is a unique numeric commercial book identifier based upon the 9-digit Standard Book Numbering (SBN) code created by Gordon Foster, Emeritus Professor of Statistics at Trinity College, Dublin for the booksellers and stationers W. H. Smith and others in 1965.
A 10-digit ISBN book number consists of 10 digits
D0D1D2D3D4D5D6D7D8D9
The last digit D9 is a checksum which is calculated from the first 9 digits using this formula:
D9 = (D0 x 1 + D1 x 2 + D2 x 3 + D3 x 4 + D4 x 5 + D5 x 6 +
D6 x 7 + D7 x 8 + D8 x 9) modulus 11
If the checksum is 10, the last character D9 is set to X because we can not store 10 as a single digit. The modulus operation is the remainder operation
http://www.cprogramming.com/tutorial/modulus.html
Write a program HW7-XXXXX.cpp (XXXXX are the last 5 digits of your ID) that prompts the user to enter the first 9 digits of an ISBN and displays the complete 10-digit ISBN code including all 0.
Here are the details and requirements: http://tinyurl.com/cis22a-fall17-hw7
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


