/* PROGRAMA QUE PROGRAMA QUE MUESTRA SI UN NUMERO ES POSITIVO o NEGATIVO
AUTOR: CARLOS E. LOPEZ */
#include <stdio.h>
#include <stdlib.h>
main()
{
float nipt;
printf("\n\tPROGRAMA QUE MUESTRA SI UN NUMERO ES POSITIVO o NEGATIVO\n\n");
printf("\tIntroduzca un numero: ");
scanf("%f",&nipt);
if (nipt<0)
{
printf("\n\tSu numero es NEGATIVO\n\n\t");
}
else
printf("\n\tSu numero es POSITIVO\n\n\t");
system("PAUSE");
return 0;
}
AUTOR: CARLOS E. LOPEZ */
#include <stdio.h>
#include <stdlib.h>
main()
{
float nipt;
printf("\n\tPROGRAMA QUE MUESTRA SI UN NUMERO ES POSITIVO o NEGATIVO\n\n");
printf("\tIntroduzca un numero: ");
scanf("%f",&nipt);
if (nipt<0)
{
printf("\n\tSu numero es NEGATIVO\n\n\t");
}
else
printf("\n\tSu numero es POSITIVO\n\n\t");
system("PAUSE");
return 0;
}