Determine whether the following pair of statements are logically equivalent or not...
$$p \rightarrow (q \rightarrow r) \;\;\text{ and }\;\; (p \rightarrow q) \rightarrow r$$
I am new to logic equations so please bare with me...
I have tried to work our the question by looking at this as an if then statement. I know the brackets have to be worked out first so i worked out $(q \rightarrow r)$ first by saying $(T \rightarrow T) \equiv T$ so $T\rightarrow T$ for the first one which is $T$.
For the second pair I again did the brackets first which turned out to be $T$ and $T \rightarrow T$ is T?
However I am unaware of is this is the right way of doing this or what $r$ means at all.
HINT:
Suppose $p$ is false, $q$ is true, and $r$ is false?