#!/bin/bash
# if [ condition ]; then
# your code
# elif
# your code
# else
# your code
# fi
# else
# your code
# fi
TEMP=$1
if [ $TEMP -gt 5 ]; then
if [ $TEMP -lt 15 ]; then
echo "The weather is cold."
elif [ $TEMP -lt 25 ]; then
echo "The weather is nice."
else
echo "You weather is hot."
fi
else
echo "It is Freezing outside ..."
fi
# TEMP=15
# The weather is nice.