#!/bin/bash
verificar_numero() {
if [ $1 -gt 0 ]; then
echo "O número é positivo."
elif [ $1 -lt 0 ]; then
echo "O número é negativo."
else
echo "O número é zero."
fi
}
echo "Digite um número:"
read numero
verificar_numero "$numero"
To embed this project on your website, copy the following code and paste it into your website's HTML: