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

No comments :

Post a Comment