Professional Documents
Culture Documents
Validar - 1
Validar - 1
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;
}