#include <iostream>
int main() {
    std::cout << "Ingrese numero:";
    std::cin >> numero;

    if(numero>0){
        std::cout << "positivo/n";
    } else if (numero<0){
        std::cout<< "negativo";
    }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: