Updated book and print data out
This commit is contained in:
parent
ba3a1df3a4
commit
443a30a5d4
@ -1,25 +0,0 @@
|
|||||||
My Third Book
|
|
||||||
Zero 1
|
|
||||||
000-000-111
|
|
||||||
My Fouth Book
|
|
||||||
1 Zero
|
|
||||||
111-000-000
|
|
||||||
My Fifth Book
|
|
||||||
2 Zero
|
|
||||||
222-000-000My Third Book
|
|
||||||
Zero 1
|
|
||||||
000-000-111
|
|
||||||
My Fouth Book
|
|
||||||
1 Zero
|
|
||||||
111-000-000
|
|
||||||
My Fifth Book
|
|
||||||
2 Zero
|
|
||||||
222-000-000My Third Book
|
|
||||||
Zero 1
|
|
||||||
000-000-111
|
|
||||||
My Fouth Book
|
|
||||||
1 Zero
|
|
||||||
111-000-000
|
|
||||||
My Fifth Book
|
|
||||||
2 Zero
|
|
||||||
222-000-000
|
|
@ -230,8 +230,9 @@ void print_data(BOOK *book)
|
|||||||
while (temp->next != NULL)
|
while (temp->next != NULL)
|
||||||
{
|
{
|
||||||
temp = temp->next;
|
temp = temp->next;
|
||||||
printf("\nBook title: %s\n", temp->title);
|
printf("\n\n============ %s ============\n", temp->title);
|
||||||
printf("Book title: %s\n", temp->title);
|
printf("Book title: %s\n", temp->title);
|
||||||
printf("Book title: %s", temp->title);
|
printf("Book author: %s\n", temp->author);
|
||||||
|
printf("Book isbn: %s", temp->isbn);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user