Posts by Luciano Silva • 9 points
1 post
-
0
votes1
answer799
viewsQ: How do I use if inside the for, without the outside if appearing?
printf("\nDigite o usuario que deseja pesquisa, pela Matricula: \n"); gets(strL); busca=atoi(strL); for(i=0; i<quant; i++) { if(busca==dados[i].matricula) { printf("Aluno: %d\n",i); printf("Nome:…