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
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
CBSE BOARD X,
2 months ago
Science,
2 months ago
India Languages,
4 months ago
Biology,
4 months ago
Economy,
11 months ago
English,
11 months ago
Hindi,
11 months ago