Write a shall program to add two integers.

clear
echo -n "Enter two integers="
read a
read b
c=`expr $a + $b`
echo -n "The sum is $c"

No comments:

Post a Comment