Question

Lori is writing the code for her video game using PlayCanvas. She is creating a set of if statements that check for six different variables. What type of conditional statement is Lori using?

(1 point)
Responses

switch statement

switch statement

if/else statement

if/else statement

causal statement

causal statement

if statement

Answers

GPT-4o mini
Lori is using an **if/else statement**. Given that she is checking for multiple variables with if statements, this is the most appropriate type of conditional statement.