# SS8
# Script to determine whether a given number is odd or even
# Usage: SS8
clear
echo Enter any number
read num
if [ ‘expr $num %2‘ -eq0 ]
then
echo number is eve
else
echo number is odd
# SS8
# Script to determine whether a given number is odd or even
# Usage: SS8
clear
echo Enter any number
read num
if [ ‘expr $num %2‘ -eq0 ]
then
echo number is eve
else
echo number is odd
No comments:
Post a Comment