You are on page 1of 1

#include <stdio.

h>
#include <string.h>
#include <conio.h>
#include <stdlib.h>
int main ()
{
char clave[10];
int x = 0;
do
{
system("cls");
printf("Ingrese -1 para salir\n");
gets(clave);
} while(x!=strcmp("-1", clave));
getchar();
return 0;
}

You might also like