Header Ads

Shell program for addition of two numbers


#!/bin/bash
echo "Enter the first number"
read a
echo "Enter the second number"
read b
c=`expr $a + $b`
echo "Addition of those two is $c"




No comments

Powered by Blogger.