ما عارفة شلون الفكرة فبغيت احد اذا تكرم يشرح لي الفكرة والسؤال هو changeprice
أني جاوبت السؤال الي قبله وأمبي أتأكد صح ولا لا..
void search(struct Books b[],int n)
{
long int ISBN;
int i,p=i;
printf("Enter ISBN number:");
scanf("%ld",&ISBN);
for(i=0;i<n+1;i++)
if(b.num==ISBN)
{
printf("The book is found and its position:%d and its name:%s\n",p,b.title);
break;
}
if(p==-1)
printf("invalid book");
}