QUESTION IMAGE
Question
question: 2 which of the below are examples of control structures? (i) if (ii) if/else (iii) while (iv) for i only i and ii only iii and i only i, ii, iii, and iv
Brief Explanations
In programming, 'if' is a conditional statement, 'if/else' is an extended conditional, 'while' is a loop for repeated execution based on a condition, and 'for' is also a loop structure. All are control - structures that determine the flow of a program.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
D. I, II, III, and IV