We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Linux Shell
- Bash
- The World of Numbers
- Discussions
The World of Numbers
The World of Numbers
Sort by
recency
|
206 Discussions
|
Please Login in order to post a comment
read X read Y mo() { echo 1 Y )) }
mo + mo - mo '*' mo /
!/bin/bash read x read y echo ((x-y)) echo ((x/y))
!/bin/bash
calc_numbers () { read x read y
}
calc_numbers
!/bin/bash
X=5 Y=2
sum=
expr
Y
echo $sumdifference=
expr
Y
echo $differenceproduct=
expr
Y
echo $productquotient=
expr
Y
echo $quotient