Computer Science, asked by samanyuchandna760, 4 months ago

C. Answer the following questions.
1. What do you mean by Iterative statements? Give an example.
2. Why are for and while loops called entry controlled loops?
3. What is the use of membership operators in Python?​

Answers

Answered by vyasnishtha2005
5

Answer:

hey mate here is ur answer

Explanation:

1)- Iteration statements cause statements (or compound statements) to be executed zero or more times, subject to some loop-termination criteria. ... C++ provides four iteration statements — while, do, for, and range-based for.

2)-An entry control loop, controls entry to the loop and thus why it is referred as entry control loop. An entry control loop checks the condition at the time of entry and if the condition or expression (statement that has value) becomes true then control transfers into the body of the loop

3)-Python has two membership operators – “in” and “not in”. They are used to check if an element is present in a sequence or not.

Similar questions