205: Book Catalog: Define a struct to represent a book with attributes like title, author, and publication year. Write a program to create a catalog of books by taking user input and display books published after a certain year.
// Book Catalog: Define a struct to represent a book with attributes like title, author, and publication year. // Write a program to create a catalog of books by taking user input and display books published after a certain year. #include < iostream > using namespace std ; struct Books { string title , author ; int year ; }; Books new_book (); void print_book ( int i , Books x []); int main () { int num ; cout << " Enter the total number of books: " ; cin >> num ; // const int total = num; Books book [ num ]; for ( int i = 0 ; i < num ; i ++) { book [ i ] = new_book (); } system ( " cls " ); int year ; cout << " Enter the year: " ; cin >> year ; cout << " \n Every book published ...