Ak je/, Potom Podmienené Závierky v Bash
#!/bin/bash
#Reminder: -ge (greaterThanOrEqualTo) -gt(greaterThan), -ls(lessThan), -le (lessThanOrEqualTo)
#My changes/What worked for me: replace 'read -p' with your echo question for input
#Putting it all together:
# echo "Enter your input"
# read input
# if [ $input -ge 70 ]
# then echo "Study more"
read -p "Enter your marks: " marks
if [ $marks -ge 80 ]
then
echo "Very Good"
elif [ $marks -ge 50 ]
then
echo "Good"
elif [ $marks -ge 33 ]
then
echo "Just Satisfactory"
else
echo "Not OK"
fi