top of page

Repetitions in Programming
Let's simplify - Abhishta Gatya - 2201754614
What is Repetition?
Repetition in programming is repeating the sequence of code/statement until a certain condition is met
01
How to Use Repetitions?
In the C programming language, there are 3 types of loops to use. While, Do-While and For Loops. Each of them has different conditions to run the loop. Use them accordingly.
-
While Loops repeats until a condition is met
-
Do-While runs then checks the condition
-
For Loops iterates until a condition is met
Why Use Repetitions?
We can use loops to reduce the redundancy of code and maintain our program really easy. We can use loops to solve many difficult problems.
02
-
Less redundant code
-
Efficient and Effective Solution to problem
-
Minimize effort of coding
When to Use Repetition?
Use repetition to write less redundant code. When a pattern emerges in a set of problem, we can use loop to test case each problem easily.
03
-
Less Time Coding
-
More Time Thinking
key features
That is all.
Algorithm Class CB-01
My name is Abhishta Gatya and this is my Algorithm Class Blog for Repetitions
contact
bottom of page