CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: ISBN Program

  1. #1
    Join Date
    Mar 1999
    Posts
    1

    ISBN Program



    Hello,

    I am having some problem on this program. I have to write up an ISBN program but I don't know what am I supposed to do. The numbers on the back on the book is the ISBN. I have to punch it in and it supposed to tell me if the number is correct or not. What code can do that and can you show me how. THanks!


    Mark Young

  2. #2
    Join Date
    Sep 1999
    Location
    NJ
    Posts
    1,299

    Re: ISBN Program

    If I recall correctly, if you add be each digit of an ISBN, the total should be a multiple of 11 (if the last digit is an "X", count that as a 10). Otherwise, is should follow the format:
    1 digit: Language (0=English)
    dash
    some digits: ID # of publisher (assigned by ISBN committee)
    dash
    some digits: ID # for that book (assigned by publisher)
    dash
    1 digit (or "X"): Check digit as described above.


    Truth,
    James
    http://www.NJTheater.com
    http://www.NovelTheory.com
    I don't do it for the points (OK, maybe I do), but rating a post is a good way for me to know if I helped.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured