Suppose that p represents the proposition "the kettle is switched on", q represents the proposition "the kettle is plugged in" and r represents the proposition "the water is heating up. Which if any represents the proposition "if the kettle is plugged in, then, when it is turned on, the water is heating up

A. r->(p->q).

B. r->(q->p).

C. q->(p->r).

D. p->(r->q).

E. (p->r)->q

F. p->(q&r).

G. r->(p&q).

H. p->(q|r).

I. None of the above

i think it is either B or G but im unsure! Wondering if any guys could help me out!