1. What is Iteration Statement ?
2. Why we use looping ?
3. Difference between if and switch statement.
Answers
Answered by
5
Hello mate here's your required answer .
Hello mate here's your required answer . if you got it than mark as Brainliest, thanks for understanding it.
Attachments:
Answered by
4
Answer:
- Iteration is the process where a set of instructions or statements is executed repeatedly for a specified number of time or until a condition is met. These statements also alter the control flow of the program and thus can also be classified as control statements in C Programming Language. Iteration statements are most commonly know as loops.
- Loops are used in programming as a test to know if the arguments in a clause are true or false and then determine to do an action that may involve skipping the clause and going to the next one. There are many different types of looping. If your loop only needs a test to decide if it should keep looping or not, then a do-while fits that.
- answer is in picture.
Explanation:
Attachments:
Similar questions