Friday, 26 May 2023

Write a Shellscript to find sum of three given numbers

CODE


 n1=10

n2=20

n3=15

sum=`expr $n1 + $n2 + $n3`

echo " SUM = " $sum

No comments:

Post a Comment