#!/bin/bash

echo "Digite a temperatura:"
read temperatura

if [ "$temperatura" -gt 30 ]; then
    echo "Muito quente"
elif [ "$temperatura" -ge 20 ] && [ "$temperatura" -le 30 ]; then
    echo "Temperatura agradável"
else
    echo "Frio"
fi

Embed on website

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