#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define CUSHION 50 /* for array sizes*/
struct book
{
char title[50];
char firstname[50];
char lastname[50];
char isbn[50]; /*ISBN Number consists of 13 numbers*/
char publisher[50];
char dop[50]; /*only the year needed*/
};
struct book Book[20];
main()
{
int c=0;
char str[80];
/* for(;c<=20;c++){*/
scanf("%s",Book
[c
].
title); printf("%s \n",Book
[c
].
title); printf("Author's first name? "); scanf("%s",Book
[c
].
firstname); printf("%s \n",Book
[c
].
firstname); printf("Author's last name? "); scanf("%s",Book
[c
].
lastname); printf("%s \n",Book
[c
].
lastname); scanf("%s",Book
[c
].
isbn); printf("Year of publication?: "); /*}*/
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN0cmluZy5oPgoKI2RlZmluZSBDVVNISU9OIDUwIC8qIGZvciBhcnJheSBzaXplcyovCgoKc3RydWN0IGJvb2sKewogICAgY2hhciB0aXRsZVs1MF07CiAgICBjaGFyIGZpcnN0bmFtZVs1MF07CiAgICBjaGFyIGxhc3RuYW1lWzUwXTsKICAgIGNoYXIgaXNibls1MF07IC8qSVNCTiBOdW1iZXIgY29uc2lzdHMgb2YgMTMgbnVtYmVycyovCiAgICBjaGFyIHB1Ymxpc2hlcls1MF07CiAgICBjaGFyIGRvcFs1MF07IC8qb25seSB0aGUgeWVhciBuZWVkZWQqLwp9OwoKc3RydWN0IGJvb2sgQm9va1syMF07Cm1haW4oKQp7CiAgICBpbnQgYz0wOwogICAgY2hhciBzdHJbODBdOwogICAvKiBmb3IoO2M8PTIwO2MrKyl7Ki8KICAgcHJpbnRmKCJUaXRsZT8gICAiKTsKICAgc2NhbmYoIiVzIixCb29rW2NdLnRpdGxlKTsKICAgcHJpbnRmKCIlcyBcbiIsQm9va1tjXS50aXRsZSk7CiAgIHByaW50ZigiQXV0aG9yJ3MgZmlyc3QgbmFtZT8gICAiKTsKICAgc2NhbmYoIiVzIixCb29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