Which of the following is an example of iteration statement :
(a) If
(b) Switch
(c) While
(d) Break
Answers
Answered by
2
Answer:
While
Explanation:
Mark as Brainliest
Answered by
0
The correct option is (C) While.
(a) If
In computer science, "if" is a conditional statement that makes the decision on the basis of the condition given.
(b) Switch
The switch is a conditional statement which is an alternative to the if-else-if ladder statement.
(c) While
It is an iteration statement that allows running the same block of program multiple times or repeatedly. If the condition is met it will stop and terminate from the loop.
(d) Break
It is a loop control statement, used to break out of a loop.
It is a keyword in the C programming language.
Similar questions