#include<iostream>
using namespace std;
class book
{
    public:
    
Book(): title(""), author("") {}

Book(const std::string&t, const std::string& a): title(t), author(a) {}

Book(const Book& other) : title(other.title), author(other.author)
{
}
void printDetails() const{
    std::cout << "Title: "<< title << std::endl;
    std::cout << "Author:"<< author << std::endl;
private:
    std::string title;
    std::string author;
};
int main(){
    Book originalBook1("HarryPotter","J.K.Rowling");
    Book copiedBook1 = originalBook1;
    
    std::cout << "Sample Output 1:"<< std::endl;
    copiedBook1.printDetails();
    
    std::cout << std::endl;
    
    Book originalBook2("TheGreatGatsby","F.Scott.Fitzgerald");
    Book copiedBook1 = (originalBook2);
    
    std::cout << "Sample Output 2:"<< std::endl;
    copiedBook2.printDetails();
    
    return **0**;
    
}