void print(student *head ) { student *p; cout<<"there"<<n<<"records"<<endl; p=head; if(head!=NULL) do { cout<<p->num<<" "<<p->score<<endl; p=p->next; }while(p!=NULL) }