if the value of q is true, the value of p is true
The statement is given as:
If p -> q
and the value of q is
q = true
For the statement If p -> q to be true, then the truth values of p and q must be the same
i.e.
p = true and q = true
or
p = false and q = false
Since, q = true, then we have
p = true
So, we have:
p = true and q = true
Hence, the value of p is true
Read more about conditional statements at:
https://brainly.com/question/11073037
#SPJ1