13 lines
182 B
Bash
13 lines
182 B
Bash
#!/bin/bash
|
|
|
|
read -p "Gyümölcs: " fruit
|
|
|
|
if [ "$fruit" = "alma" ]; then
|
|
echo "Ez alma"
|
|
elif [ "$fruit" = "korte"]; then
|
|
echo "Ez körte"
|
|
else
|
|
echo "Nem alma és nem körte"
|
|
fi
|
|
|