If I go to the beach, then I have to pack sunblock (option D).
Explanation:
A conditional statement is an if -then situation
[tex]\begin{gathered} it\text{ is wruitten as : } \\ p\text{ }\rightarrow q \\ \text{where p is the }hypothesis \\ q\text{ is the conclusion} \end{gathered}[/tex]The option with an if-then statement is: If I go to the beach, then I have to pack sunblock.
Hence, the conditional statement is If I go to the beach, then I have to pack sunblock (option D).