Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- typeset -gi prod=1
- for i in $@; do
- ((prod *= i))
- done
- echo ${prod}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement