Tariq is writing the code for his videogame using PlayCanvas. What type of conditional statement should Tariq use if an if

statement has two potential outcomes?
(1 point)

switch statement

if statement

if/else statement

causal statement

if/else statement

Tariq should use an "if/else" statement if he wants to have two potential outcomes for his conditional statement.

Tariq should use an if/else statement if he wants a conditional statement with two potential outcomes. An if/else statement allows Tariq to specify a block of code to be executed if a certain condition is true, and another block of code to be executed if that condition is false. This way, Tariq can control the flow of his code based on different conditions and handle both possibilities.