Shell program - Subtraction of two numbers

CODE:

#! /bin/bash

echo "enter two numbers:"
read a
read b
c=`expr "$a" - "$b" `

echo "$a - $b ="$c

OUTPUT:

Shell program - Subtraction of two numbers


No comments :

Post a Comment