Skip to content
Snippets Groups Projects
Commit 246e89aa authored by clm15@inf.ufpr.br's avatar clm15@inf.ufpr.br
Browse files

arrumado!


Signed-off-by: default avatarCristopher <clm15@inf.ufpr.br>
parent b575b300
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,10 @@ void jogar (int *vet, int *vet_ord, int N,FILE *log)
scanf ("%d", &x);
fprintf(log, "%d]\n",x);
if ((pesqseq(vet, x, N) != 0) || (pesqbin(vet_ord, x, N) != 0))
vetor[3]=x;
{
vetor[i] = x;
i++;
}
if (i == 4)
{
printf ("Sucesso!! [%d %d %d %d]\n", vetor[0], vetor[1], vetor [2], vetor [3] );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment