Initial commit
This commit is contained in:
11
kapitel11/sidan_186_ex2.sh
Normal file
11
kapitel11/sidan_186_ex2.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
tal=3
|
||||
|
||||
if [ $tal -gt 10 ]; then
|
||||
echo "$tal är större än 10"
|
||||
elif [ $tal -lt 5 ]; then
|
||||
echo "$tal är mindre än 5"
|
||||
else
|
||||
echo "$tal ligger mellan 5 och 10"
|
||||
fi
|
Reference in New Issue
Block a user