Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "podaj m: "
- read m;
- echo "podaj n: "
- read n;
- x=1
- for x in {1..100}; do
- if (( x % m == 0 && x % n == 0 )); then
- echo "$x"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement