Is there a way to compare a large quantity of strings? Such as if you were to see if the user input
string was a valid pet.
Is there a way to compare it to "dog" "cat" "bird" etc without using A LOT of if statements?
I could use string.split but then how exactly is that stored in an array?