Untitled
Anonymous
plain_text
11/26/2022 3:29 AM
276 B
16
Indexable
#!/bin/bash if [[ $3 == "add" ]]; then echo $(($1 + $2)) elif [[ $3 == "sub" ]]; then echo $(($1 - $2)) elif [[ $3 == "mul" ]]; then echo $(($1 * $2)) elif [[ $3 == 'div' ]]; then echo $(($1 / $2)) fi
Editor is loading...