Question: In C++ please and i need it ASAP with EXACT output!!! Define a class, named, Book Info, that contains (1) three private members: title a
In C++ please and i need it ASAP with EXACT output!!! 



Define a class, named, Book Info, that contains (1) three private members: title a string), author (a string), yearPublished an integer) (2) the corresponding accessors and mutators for the above member variables in the public section string getTitle(); -- return the title of a book string getAuthor(); -- return the author int getYearPublished(); -- return the year of publication void setTitle(string); -- set the title of a book via the input string parameter void setAuthor(string); -- set the author void set YearPublished (int); -- set the year of publication (3) two constructors the default constructor that sets both the title and author of the book as "Unknown" and the year of publication as 2021. an overloaded constructor that takes three parameters as input in the order of (string in Title, string in Author, int year) and initialize the corresponding member variables of the book object (4) a void printout() function that outputs the information of a book in the following format: Title:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
