Why can't I get this to work

jefferj54

Baseband Member
Messages
21
Location
new york
I am new to linux. I want display my favorite ice cream flavor, which is chocolate and reject all other flavors. What's an easy way of doing this. I'm having a heck of a time. Please help and tell me what's wrong here. Thanks, joe.


!/bin/sh

FLAVOR=chocolate

echo “please enter my favorite ice cream flavor:"
read FLAVOR

if [ “$FLAVOR" == “$chocolate” ];
then
echo “You are correct!"
else
echo "You are incorrect!"
fi

~
~
~
~
~
 
Back
Top Bottom