Write a C++ program, you will create a class called Books to hold the information about the books in a library. The information required for each book is as follows Book Title Author name Publisher Publish year Subject Book ID (identical 5 digits’ number) Implement the following getBookInfo () member function that receives a pointer to a book and fills it up with user data. User input validation is necessary. The user should be properly prompted for each field. void getBookInfo (Books *b) Implement the following printBookInfo () member function. void printBookInfo (Books *b) Your function should print the book in the following format: Book Title : Object Oriented Programming Using C++ Author : Chris M. Szalwinski Publisher : Amazon Year : 2016 Subject : Computer Science Book Id : 00034 Note: You need to add required constructors/destructors, member functions or data members/variables in your program to complete its execution. //Missing lines of codes to be completed by the student } public boolean isLargePizza() {
Write a C++ program, you will create a class called Books to hold the information about the books in a library. The information required for each book is as follows
Book Title
Author name
Publisher
Publish year
Subject
Book ID (identical 5 digits’ number)
Implement the following getBookInfo () member function that receives a pointer to a book and fills it up with user data. User input validation is necessary. The user should be properly prompted for each field.
void getBookInfo (Books *b)
Implement the following printBookInfo () member function.
void printBookInfo (Books *b)
Your function should print the book in the following format:
Book Title : Object Oriented
Author : Chris M. Szalwinski
Publisher : Amazon
Year : 2016
Subject : Computer Science
Book Id : 00034
Note: You need to add required constructors/destructors, member functions or data members/variables in your program to complete its execution.
//Missing lines of codes to be completed by the student
}
public boolean isLargePizza()
{

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









