Books structure

3.7% Acceptance

Task Create a structure ->

struct Book { string title; string author; uint256 book_id; }

Create two functions

a) setBook(title(string),author(string),id(uint))

To set the book title, author and id given in the structure.

b) getBook()

To get the book title,author and id.

Note - Function will be public.

You can do this :)