Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ptr=&root;
- do
- {
- cout<<"cognome alunno "<<ptr->cognome_alunno<<endl;
- cout<<" nome alunno "<<ptr->nome_alunno<<endl;
- int i=0;
- if(root1->voto_informatica[0]!=11)
- {
- cout<<"voto informatica"<<endl;
- while(ptr->voto_informatica[i]!=11)
- {
- cout<<ptr->voto_informatica[i]<<endl;
- i++;
- }
- }
- i=0;
- if(root1->voto_calcolo[0]!=11)
- {
- cout<<"voto calcolo "<<endl;
- while(ptr->voto_calcolo[i]!=11)
- {
- cout<<ptr->voto_calcolo[i]<<endl;
- i++;
- }
- }
- ptr=ptr->successiva;
- }while(ptr==NULL);
Add Comment
Please, Sign In to add comment