Skip to main content
added 44 characters in body
Source Link

Bash, 2525 22 15 bytes

read A B; echo $(( A$1/B $2))

InputSave to script, input numbers are whitespace-separated read from stdingiven at command line

Saved 3 bytes thanks to @betseg

Bash, 25 bytes

read A B; echo $(( A/B ))

Input numbers are whitespace-separated read from stdin

Bash, 25 22 15 bytes

echo $(($1/$2))

Save to script, input numbers given at command line

Saved 3 bytes thanks to @betseg

Source Link

Bash, 25 bytes

read A B; echo $(( A/B ))

Input numbers are whitespace-separated read from stdin