Hey, I'm making a little program that asks you your name last name age and gender.
It works great up until it asks me my gender so i say "male" and it says something went wrong. here is the porgram actually running:
Enter your first name:
Hello,Rafael, what is your last name?
So your full name is Rafael Lopez? Great, Now how old are you?
Are you male or female?
./mysecond~: line 20: syntax error: unexpected end of file
and here is what I made
echo " "
echo "Enter your first name:"
echo "Hello,"$FirstName", what is your last name?"
echo "So your full name is "$FirstName" "$LastName"? Great, Now how old are you?"
echo "Are you male or female?"
echo "Mr. "$LastName" is "$age" years old. Cool. Bye!"
echo "Mrs. "$LastName" is "$age" years old. Cool. Bye!"
what am I doing wrong?
I have also tried no putting echoes in the "if male/female then ..." but nothing changes.