Social Sciences, asked by mananbothra2222, 14 days ago

Which one of the following is Iteration statement? *
a) if else statement
b) if elif else statement
c) for and while statement
d) None of the above

Answers

Answered by syed2020ashaels
0

Answer:

Correct answer is option C

Explanation:

Subject to certain loop-termination requirements, iteration statements cause statements (or compound statements) to be run zero or more times. Except for when the break statement or the continue statement is encountered, compound statements are executed in the order they are encountered.

The iteration statements available in C++ include while, do, for, and range-based for. Each of these loops iterates either until the loop's forced termination with a break statement or until the termination expression evaluates to zero (false). Example:

Iteration is the process of repeatedly performing the same action. Long division, the Fibonacci sequence, prime numbers, and the calculator game are a few examples. A statement or a set of statements is executed repeatedly via iteration statements. The for clause executes its body as long as a given Boolean expression is true.

For similar questions refer-https://brainly.in/question/50384956

#SPJ1

Similar questions