Write a shell script to add 3 nos

 

Write a shell script to add 3 nos



Program :-


echo "utsav gohel - 91900104011"

#Write a shell script to add 3 nos

#!/bin/bash

a=10

b=20

c=30                                                                                                                             

sum=$(( $a + $b + $c ))

 

echo $sum



Output :-