Unit3 Chapter1
Unit3 Chapter1
CHAPTER 1
Decision making and looping
You may encounter situations, when a block of code needs to be
executed several number of times.
Advantage with looping statement
• Reduce length of Code
• Take less memory space.
• Burden on the developer is reducing.
• Time consuming process to execute the program is reduced.
• There are three type of Loops available in 'C' programming language.
1. while loop
2. do..while
3. for loop