The statement p --> q represents "If a number is doubled, the result is even." Which represents the inverse?

A. p --> ~q where p = a number is doubled and q = the result is even

B. q --> p where p = a number is doubled and q = the result is even

C. ~p --> ~q where p = the result is even and q = a number is doubled​