Thanks again for all of the help! Could you explain why double quotes would be better than single? I don't think the book has covered that yet.
Also, I thought that putting # before things took what followed out of the program. I thought it was used for turning things into notes.
Edit: I figured I'd add one more question here instead of filling the forum with my newbie questions.
I decided that I want my program to greet anyone with my last name in a third way. I want it to suggest that maybe we're related. With the help of Google, I've found "elsif." However, I can't seem to figure out how to make use of it.
Before it was anyone with my last name would be confused for me. But I have that fixed now.
firstname.capitalize + middlename.capitalize + lastname.capitalize == 'KyleRyanConway'
But I can't seem to figure out how to give it a different response...
Is there a code that goes something along the lines of:
firstname.capitalize != 'Kyle' or middlename.capitalize != 'Ryan' and lastname.capitalize == 'Conway'
That sure would be useful... At the point I'm at, he's hit on "if/else" statements, but hasn't gone very in depth.
Additional Edit: I'll keep the original up there in case anyone else stumbles across it and might need it.
I used 'elsif' and had it make sure the last name matched. As the first 'if' came first in the code, it would check for the entire name first and put what it was told to before checking the second 'elsif.' If that failed, it moved on and matched only the last name.