/* isbn.cpp * Write a program to check if a number entered by the user is a * valid ISBN number. * * Go to http://www.cs.queensu.ca/home/bradbury/checkdigit/isbncheck.htm * for info on ISBN numbers. */ #include #include using namespace std; const int ISBNSIZE = 13; bool isValid(const char *isbn); void copyNoHyphen(const char *isbn, char *copy); int main(int argc, char *argv[]) { char isbn [ISBNSIZE + 1]; cout << "Enter ISBN number" << endl; cin >> isbn; if(isValid(isbn)){ cout << "Yep, its a valid number" <