if(expression or expression or expression or expression)
Now the compiler evaluates each expression to determine of it is conceptually either true or false. What does "North" evaluate to? The answer is true. Now you have or relational operators - which means that if any of the expressions are true, the whole statement is true. So an answer is :
if (input2 == "north" || input2 == "North")
But this approach is really bad, what if the user puts in nOrth ? Now you have to account for every permutation involving upper and lower case. This why it is best to ask for just one char as the input, convert that to upper or lower case with the toupper or tolower functions, that way you won't have logic for N as well as n, just N say.
You can also use a switch statement - investigate that.
also one more thing, how can i account if input2 is empty?
like "go" then it spits out, "sorry you must supply a direction"
how can this be accomplished?