Question: WITHOUT using overloading Constructor/inherit solve in C++ language Book Program Create an Author class that contains fields for the authors first name, last name and
WITHOUT using overloading Constructor/inherit solve in C++ language
Book Program Create an Author class that contains fields for the authors first name, last name and middle inital. Include only a non-default constructor that requires all of the fields. (You may not use a default constructor). Include a function to display all of the fields on a single line in this format: Last Name, First Name Middle Initial. (e.g. Jones, Jacob D.) Create a Publisher class that contains fields for the name of the publisher and the city of the publisher. Include only a non-default constructor that requires all of the fields. (You may not use a default constructor). Include a function to display all of the fields on a single line in this format: Publisher Name, City. (e.g. Pearson, New York. ) Create a Book class that contains an Author and Publisher object and fields for name, edition, isbn, copyright year. Include a non-default constructor. Include a function to display a book that will also call the display functions for the Author and Publisher ojbects in the following format: Author Information. Book Name, edition. Publisher Information, copyright year. Isbn. (e.g. Jones, Jacob D. A Simple Guide to Building Bookshelves, 3rd ed. Pearson, New York. 2019. ISBN: 123-45-678910. )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
