#include <iostream>
#include <vector>
#include <string>
#include <iomanip> // For formatting output

struct Book {
    std::string title;
    std::string author;
    std::string isbn;
};

int main() {
    // Sample book data (you can replace this with user input or reading from a file)
    std::vector<Book> books = {
        {"The Lord of the Rings", "J.R.R. Tolkien", "978-0618260264"},
        {"Pride and Prejudice", "Jane Austen", "978-0141439518"},
        {"1984", "George Orwell", "978-0451524935"}
    };

    // Print header row
    std::cout << std::setw(30) << "Title" 
              << std::setw(25) << "Author" 
              << std::setw(15) << "ISBN" << std::endl;
    std::cout << std::string(70, '-') << std::endl; // Separator line

    // Print book data in rows
    for (const auto& book : books) {
        std::cout << std::setw(30) << book.title 
                  << std::setw(25) << book.author 
                  << std::setw(15) << book.isbn << std::endl;
    }

    return 0;
}