Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!bin/sh
- y=`expr $1 % $2`
- if [ $y -eq 0 ]
- then
- echo "Number is divisible"
- else
- echo "Not divisible"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement