Untitled

 avatar
unknown
plain_text
3 years ago
365 B
3
Indexable
#!/bin/bash
sum=0
echo "Enter Numbers"
  echo "Enter the first number"
  read num1           #get number
  echo "Enter the second number"
  read num2           #get number
  echo "Enter the third number"
  read num3          #get number
  sum=$((num1 + num2 + num3)) #sum+=num
  if [ sum < 50 ]
then
  echo "Good Try!!!"
fi
  echo "Celebrate the score!!!"
echo $sum
Editor is loading...