Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. void BuscaNome(struct tipoAluno *inicio, char x[]){
  2. struct tipoAluno *temp = inicio;
  3. while(temp != NULL){
  4. if(strcmp(temp->nome, x) == 0){
  5. printf("----------------------\n");
  6. printf("RA.....: %d\n", temp->ra);
  7. printf("Nome...: %s\n", temp->nome);
  8. printf("Nota...: %f\n", temp->nota);
  9. return;
  10. }
  11. temp = temp->prox;
  12. }
  13. printf("Nao existe\n");
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement