Php – While and Do While Loops

In previous chapter we have looked for and foreach loops. In this chapter we will look another Php programming language loop while and do while loops. While Loop while...

Php – For and Foreach Loops

Loops are used to iterate over some block of code again and again in given conditions. We can specify the code which will loop and...

C – Arrays

Arrays are different from primitive types like integer,chars. Arrays provides fixed length sequential data. All of the data is same type. We can think array...

C For Loop and Iteration

For loop is generally used for specified arrays or similar array like lists. For enumerates over given way and checks the condition whether it is...

C – While Loops

Loops are used to loop and iterate through sequential data or similar serial output. Sequential data will be generally an array. For example to search...

Python While Loop Tutorial

Python provides different type of looping mechanism. while is the most popular one after for loops. while loops generally used to iterate and check given condition result as...

Python For Loop

Python programming language provides loops with for statement. It is similar to the most of the main stream programming languages like C, C++, Java or...

Bash For and While Loop Examples

Bash can provides different programming language structures like variable, array, loop, decision making etc. Loop is one of the most useful feature of bash scripting....