USING C A catalog listing for a textbook consists of the authors’ names, the title, the publisher, and the year of publication. Declare a structure type catalog_entry_t and a variable book , and write...


USING C



A catalog listing for a textbook consists of the authors’ names, the title, the publisher, and the year of
publication. Declare a structure type catalog_entry_t and a variable book , and write statements that
store the relevant data for this textbook in book .



I have this code so far but not sure where to go from here



#include
#include


typedef struct{
char author_name[50], title[50], publisher[50];
int publication;
} catalog_entry_t;
catalog_entry_t book;


strcpy(book.author_name,"Rhett Beeson");
strcpy(book.title,"This class is hard");
strcpy(book.publisher,"TTU");
book.publication=2021



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here