Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. #!bin/sh
  2.  
  3. y=`expr $1 % $2`
  4. if [ $y -eq 0 ]
  5. then
  6. echo "Number is divisible"
  7. else
  8. echo "Not divisible"
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement