Shell program - Division 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 - Division of two numbers

No comments :

Post a Comment