Looping in C Programming Language

 Looping in C Programming Language Use: When we want to perform specific task repeatedly then we can use looping. In C Language there are three type of loop: For Loop While Loop Do while Loop Nested for Loop Each Loop statement requires three things: Initialization  Test Condition Increment/Decrement Operation 1. For Loop: For Loop is a repetition control structure which allow us to write a loop that is executed a specific number of time. Syntax:               for( initialization ; test condition; increment/decrement operation)                 {                    ------                    body of for loop;                    ------               } 2. While Loop: While Loop is use to per to p...

Different Modules to solve the program/problem

DIFFERENT MODULES TO SOLVE THE PROGRAM/PROBLEM

  1. Algorithm
  2. Flow-Chart
  3. Program

1. Algorithm: Algorithm is a step by step procedure to perform any task. In Algorithm, we write our logic in textual manner (Statement).

2. Flow Chart: Graphical representation of an algorithm is called flow chart. In flow chart there are different symbols:


3.Program: Using of algorithm and flow chart we can perform program easily. 

Comments

Popular posts from this blog

Data Types in C Program

Operators in C Program