#include <iostream>

int main() {
    int numeri;
    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: