When should else be used in programming?
(1 point)
Responses
if something should be repeated several times
if something should be repeated several times
in a non-conditional statement
in a non-conditional statement
to describe what should happen when the condition of an if statement isn’t met
to describe what should happen when the condition of an if statement isn’t met
to begin an infinite loop
to begin an infinite loop
1 answer
The correct answer is: to describe what should happen when the condition of an if statement isn’t met.