Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- if [ "$NUM" -lt 5 ]; then
- echo "The number is less than 5"
- elif [ "$NUM" -lt 10 ]; then
- echo "The number is between 5-9"
- elif [ "$NUM" -lt 21 ]; then
- echo "The number is between 10-20"
- else
- echo "The number is greater than 20"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement