The correct response is if.
The other options (do, for, while) are all loop structures, while "if" is specifically used for making selections based on conditions.
Responses
if
if
do
do
for
for
while
1 answer
The correct response is if.
The other options (do, for, while) are all loop structures, while "if" is specifically used for making selections based on conditions.