#include <iostream>

int main() {
    int numero;
    std::cout << "Ingrese un Numero: ";
    std::cin >> numero;

    if (numero > 0)
        std::cout << "positivo\n";
  }else if (numero < 0) {
    std::cout << "Negativo\n";
  }else {
    std::cout << "Cero\n;
  }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: