Pure Programmer
Blue Matrix


Cluster Map

Project: ISBN-10 Check

The ISBN-10 number used to uniquely identify a book published before 2007 utilizes a check digit in its last place to catch data entry errors. Write a program that checks an ISBN-10 number and prints whether or not it is a valid number.

See [[International_Standard_Book_Number|International Standard Book Number]]

Output
$ swiftc ISBN10Check.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution