Question: CSC 143 Book Cataloging System Write a program to manage a Book Catalog. The catalog would contain a collection of books, with following fields of

 CSC 143 Book Cataloging System Write a program to manage aBook Catalog. The catalog would contain a collection of books, with followingfields of information: book code (unique for each book, must be validsee ISBN validation rules in this assignment for more info), author's lastname, author's first name, book title, year of publication and price. The

CSC 143

Book Cataloging System Write a program to manage a Book Catalog. The catalog would contain a collection of books, with following fields of information: book code (unique for each book, must be valid see ISBN validation rules in this assignment for more info), author's last name, author's first name, book title, year of publication and price. The book catalog should use a file for storing books The information in the file uses tabs to separate each of the field of a book, with one book per line. Refer to sample file: booklist.txt for more details. Usage Requirements: 1. At the start, the program should load the catalog from file (Bookstxt from current directory), if it doesn't exist, create a new catalog. 2. The program should allow the user to add a new book to the catalog. The program should ask for the required information and then add the book to the catalog, only if same book code doesn't already exist in the catalog and if the book is a valid. Book is considered valid, if the book code is valid, name and title are valid (name can't start with numbers, name/title can't be empty, price is not negative or zero, year cannot be greater than 2013) Book Cataloging System Write a program to manage a Book Catalog. The catalog would contain a collection of books, with following fields of information: book code (unique for each book, must be valid see ISBN validation rules in this assignment for more info), author's last name, author's first name, book title, year of publication and price. The book catalog should use a file for storing books The information in the file uses tabs to separate each of the field of a book, with one book per line. Refer to sample file: booklist.txt for more details. Usage Requirements: 1. At the start, the program should load the catalog from file (Bookstxt from current directory), if it doesn't exist, create a new catalog. 2. The program should allow the user to add a new book to the catalog. The program should ask for the required information and then add the book to the catalog, only if same book code doesn't already exist in the catalog and if the book is a valid. Book is considered valid, if the book code is valid, name and title are valid (name can't start with numbers, name/title can't be empty, price is not negative or zero, year cannot be greater than 2013)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!