#include #include struct llibre{ char titol[20]; char autor[20]; int pag; float preu; }biblio[30]; void ini(struct llibre [], int ); int buscar(struct llibre[], int , char[]); void main(){ int i, n, res; char cerca[20]; do{ printf("\nQuants llibres? "); scanf("%d",&n); fflush(stdin); }while((n<0)&&(n>30)); ini(biblio, n); printf("\nQue vols buscar?"); scanf("%s", cerca); fflush(stdin); res<-buscar(biblio, n, cerca); } void ini(struct llibre biblio[], int n){ int i; for(i=0;i