Next Steps 9/9


#1

A simple way to discourage a user from entering an invalid choice would be at the end
else{
return "Invalid Input";
}

Therefore this makes all replies outside of the else if conditions "Invalid Input" instead of "undefined".