perdón creo que puse cualquier cosa ahí arriba, ahora creo que esta bien, igual es como muy secillo
Código (c) [Seleccionar]
void negativo(int n);
void positivo(int n);
int main()
{
int N;
printf("ingrese el numero\n");
scanf("%d",&N);
positivo(N);
return 0;
}
void positivo(int n)
{
if(n>=0)
{
printf("el numero es positivo\n");
}
else
{
negativo(n);
}
}
void negativo(int n)
{
if(n<0)
{
printf("el numero es negativo\n");
}
else
{
positivo(n);
}
}