@Jailan: Have you tried searching the forum?
http://cboard.cprogramming.com/search.php
Use "ISBN" as a key word. Sure several threads are about books. Several others offer previously asked version of your same question, and likely a solution lies therein as well.
Thread titles like "Processing a book ISBN" or "validate isbn" spring to mind.