Question: You are to create a program that you use for keeping track of textbooks required and recommended for classes and the cost of those textbooks.
You are to create a program that you use for keeping track of textbooks required and recommended for classes and the cost of those textbooks. All input will be taken from standard input. Each line of input will begin with a single or double character code that identifies the type of operation that line describe
The possible line formats are:


Notes: - The program should be developed in C++ - Books will be defined before details or costs are added - Books and courses will be defined before books are added to courses. - Note that later lines can overwrite information from previous lines. For example, a price could be updated, an edition number could change, etc. The last of the input lines should be the one used. - Printed lists should be reasonably informative, with all information provided possible (e.g. when printing a book, print the title, author (if known), costs (if known), etc.
NO SPAM RESPONSES PLEASE!!! READ THE QUESTION CORRECTLY BEFORE ANSWERING. THANKS!
Command B Explanation Define a book. The ISBN is a 13-digit number. The Title is a string of arbitrary length (ending with a line break). (Note that you favorite integer data type may not big enough for 13-digit numbers. In that case, it is OK to use a C++ std:string instead to store this number B 1234567890123 Programming for Programmers Example Command | D Explanation Define a characteristic of a book (for the book with the given ISBN. If 'A' is used, then the Author is set, and the value is name of the author (string of arbitrary length, ending with end of line). If 'E' is used, the value is the number of the edition (a positive integer). If D is used, it is the date of publication, where the date is in MM/YYYY format (no day) Example D 1234567890123 D 01/2017 Command M Explanation Define a course. The Department Code is a 4-letter code for a department. The course number is a 3-digit number for the course. The name is a name for the course of arbitrary length, ended by the end of the line C CSCE 315 Programming Studio a string Example Command A Explanation Assign a book to a class. The ISBN is the ISBN number for the book. The Department Code and Course number are as in the definition of a course. The section number is a 3 digit integer. The final digit is either R for required or O for optional A 1234567890123 CSCE 315 501R Example Command B Explanation Define a book. The ISBN is a 13-digit number. The Title is a string of arbitrary length (ending with a line break). (Note that you favorite integer data type may not big enough for 13-digit numbers. In that case, it is OK to use a C++ std:string instead to store this number B 1234567890123 Programming for Programmers Example Command | D Explanation Define a characteristic of a book (for the book with the given ISBN. If 'A' is used, then the Author is set, and the value is name of the author (string of arbitrary length, ending with end of line). If 'E' is used, the value is the number of the edition (a positive integer). If D is used, it is the date of publication, where the date is in MM/YYYY format (no day) Example D 1234567890123 D 01/2017 Command M Explanation Define a course. The Department Code is a 4-letter code for a department. The course number is a 3-digit number for the course. The name is a name for the course of arbitrary length, ended by the end of the line C CSCE 315 Programming Studio a string Example Command A Explanation Assign a book to a class. The ISBN is the ISBN number for the book. The Department Code and Course number are as in the definition of a course. The section number is a 3 digit integer. The final digit is either R for required or O for optional A 1234567890123 CSCE 315 501R Example