So I'm trying to type out the code below that insults my brother in law when he types in his name after being prompted, says i love you to my girlfriend, and calls every other person amazing. for some reason every time I input "Jesus Rosa" or "Carly Reyes" it says "You're Amazing" rather than the insult for Jesus or ILY for Carly. Anyone know why?
Also don't be offended by my message to Jesus, we're coding together and he thinks it's hilarious what this code does.
cout << "What is your first and last name?\n";
if (name == "Jesus Rosa")
cout << "You're a spanish piece of shit. \n";
elseif (name == "Carly Reyes")
cout << "I love you. \n";
cout << "You're amazing. \n";