#include #include #define N 20 struct llibre{ char titol[N]; char autor[N]; int pag; float preu; }; void ini(struct llibre [], int n); void mostra(struct llibre[], int n); void main(){ struct llibre biblio[N]; int n; do{ printf("\nQuants llibres? "); scanf("%d",&n); }while((n<1)||(n>N)); fflush(stdin); ini(biblio,n); mostra(biblio,n); } void ini(struct llibre biblio[], int n){ int i; for(i=0;i