Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void BuscaNome(struct tipoAluno *inicio, char x[]){
- struct tipoAluno *temp = inicio;
- while(temp != NULL){
- if(strcmp(temp->nome, x) == 0){
- printf("----------------------\n");
- printf("RA.....: %d\n", temp->ra);
- printf("Nome...: %s\n", temp->nome);
- printf("Nota...: %f\n", temp->nota);
- return;
- }
- temp = temp->prox;
- }
- printf("Nao existe\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement