Write a shell script to subtract two nos

 


Write a shell script to subtract two nos



Program :-



echo "utsav gohel - 91900104011"

# Write a shell script to subtract two nos

 

#!/bin/bash

echo "Enter A =  "

read a

 

echo "Enter B =  "

read b

subtract=$(( $a - $b ))

 

echo "subtract of two number is .."

echo $subtract

 

Output :-