Guest User

Untitled

a guest
Feb 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. ptr=&root;
  2. do
  3. {
  4. cout<<"cognome alunno "<<ptr->cognome_alunno<<endl;
  5. cout<<" nome alunno "<<ptr->nome_alunno<<endl;
  6. int i=0;
  7. if(root1->voto_informatica[0]!=11)
  8. {
  9. cout<<"voto informatica"<<endl;
  10. while(ptr->voto_informatica[i]!=11)
  11. {
  12. cout<<ptr->voto_informatica[i]<<endl;
  13. i++;
  14. }
  15. }
  16. i=0;
  17. if(root1->voto_calcolo[0]!=11)
  18. {
  19. cout<<"voto calcolo "<<endl;
  20. while(ptr->voto_calcolo[i]!=11)
  21. {
  22. cout<<ptr->voto_calcolo[i]<<endl;
  23. i++;
  24. }
  25. }
  26. ptr=ptr->successiva;
  27. }while(ptr==NULL);
Add Comment
Please, Sign In to add comment