Program:
echo enter a number from 1 to 10
read num
if test $num -lt 6
then
echo I used to think i wasindecisive, but now i am not so sure
echo -Anonymous
fi
Input/OutPut
enter a number from 1 to 10
5
I used to think i wasindecisive, but now i am not so sure
-Anonymous
enter a number from 1 to 10
11
No comments:
Post a Comment