(i) The given statement is: p: “It is necessary to have a password to log on to the server.” The given statement can be written as follows:
“If you log on to the server, then you have a password.”
(ii) The given statement is: q: “There is traffic jam whenever it rains.” The given statement can be written as follows:
“If it rains, then there is a traffic jam.”
(iii) The given statement is: r: “You can access the website only if you pay a subscription fee.” The given statement can be written as follows:
“If you can access the website, then you pay a subscription fee.”