Advertisement
XeBuZer0

OperacionesEnBash

Jan 30th, 2023 (edited)
1,026
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | Source Code | 0 0
  1. a=10
  2. b=$((2*10))
  3. c=$((a+b/2))
  4. c=$(((2+3)*10))
  5. div=$((c/2))
  6. res=$((b%c))
  7. echo "variables:  a = $a, b = $b,  c = $c, div = $div, res = $res"
  8. echo $'\n'
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement