Object Functions
Lesson 29Author : 🦒
Last Updated : November, 2017
Code
class Book{
public:
string title;
string author;
void readBook(){
cout << "Reading " + this->title + " by " + this->author << endl;
}
};