Answers for "arithmetic operation in bash"

1

arithmetic operation in bash

#!/bin/bash
x=5
y=10
ans=$(( x + y ))
echo "$x + $y = $ans"
Posted by: Guest on June-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language