echo "Enter the Number" read n r=`expr $n % 2` if [ $r -eq 0 ] then echo "$n is Even number" else echo "$n is Odd number" fi
To embed this project on your website, copy the following code and paste it into your website's HTML: