answersLogoWhite

0


Best Answer

$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

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Unix program for adding of two numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp