Added test programs
This commit is contained in:
parent
196bb24283
commit
c318712180
3 changed files with 187 additions and 0 deletions
8
OS/C/practice/test.sh
Executable file
8
OS/C/practice/test.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
read -p "Enter a number: " num
|
||||
if [[ $num -gt 10 ]]; then
|
||||
echo "Number is greater than 10"
|
||||
elif [[ $num -eq 10 ]]; then
|
||||
echo "Number is exactly 10"
|
||||
else
|
||||
echo "Number is less than 10"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue