#!/bin/bash
echo "---FIND THE GREATEST AMONG THREE NUMBERS---"
echo "Enter 1st number:"
read first_num
echo "Enter 2nd number:"
read second_num
echo "Enter 3rd number:"
read third_num
if test $first_num -gt $second_num && test $first_num -gt $third_num
then
echo $first_num is the greatest number.
elif test $second_num -gt $third_num
then
echo $second_num is the greaatest number.
else
echo $third_num is the greatest number.
fi
read -p "Enter a number: " num
if ((num % 2 == 0)); then
echo "$num is even."
else
echo "$num is odd."
fi
IyEvYmluL2Jhc2gKCmVjaG8gIi0tLUZJTkQgVEhFIEdSRUFURVNUIEFNT05HIFRIUkVFIE5VTUJFUlMtLS0iCmVjaG8gIkVudGVyIDFzdCBudW1iZXI6IgpyZWFkIGZpcnN0X251bQplY2hvICJFbnRlciAybmQgbnVtYmVyOiIKcmVhZCBzZWNvbmRfbnVtCmVjaG8gIkVudGVyIDNyZCBudW1iZXI6IgpyZWFkIHRoaXJkX251bQppZiB0ZXN0ICRmaXJzdF9udW0gLWd0ICRzZWNvbmRfbnVtICYmIHRlc3QgJGZpcnN0X251bSAtZ3QgJHRoaXJkX251bQp0aGVuCgllY2hvICRmaXJzdF9udW0gaXMgdGhlIGdyZWF0ZXN0IG51bWJlci4KZWxpZiB0ZXN0ICRzZWNvbmRfbnVtIC1ndCAkdGhpcmRfbnVtCnRoZW4KCWVjaG8gJHNlY29uZF9udW0gaXMgdGhlIGdyZWFhdGVzdCBudW1iZXIuCmVsc2UKCWVjaG8gJHRoaXJkX251bSBpcyB0aGUgZ3JlYXRlc3QgbnVtYmVyLgpmaQoKIHJlYWQgLXAgIkVudGVyIGEgbnVtYmVyOiAiIG51bQogICAgICAgICAgICBpZiAoKG51bSAlIDIgPT0gMCkpOyB0aGVuCiAgICAgICAgICAgICAgICBlY2hvICIkbnVtIGlzIGV2ZW4uIgogICAgICAgICAgICBlbHNlCiAgICAgICAgICAgICAgICBlY2hvICIkbnVtIGlzIG9kZC4iCiAgICAgICAgICAgIGZp