answersLogoWhite

0

$vi sum.sh

echo "enter the 1st no."

read num1

echo "enter the 2nd no."

read num2

sum= 'expr $num1 + $num2'

echo "sum of the numbers is $sum"

User Avatar

Wiki User

12y ago

What else can I help you with?