Advertisements
Advertisements
प्रश्न
Write the features Looping Structure.
टीपा लिहा
Advertisements
उत्तर
Looping Structures are useful for writing iteration logics.
It is the most important feature of many programming languages, including PHP.
They are implemented using the following categories.
- for loop
- while loop
- do-while loop
- for each loop
shaalaa.com
Looping Structure
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
Loops that iterate for fixed number of times is called ______.
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
Consider the following code
<? php
$count=12;
do{
printf(“%d squared=%d<br/>”,
$count, pow($count,2));
} while($count<4);
?>
What will be the output of the code.
List out Looping Structure in PHP.
Write Syntax of while loop in PHP.
Write Syntax of Do while loop in PHP.
Write the purpose of Looping Structure in PHP.
Write short notes on Do while Loop.
Explain Looping Structure in PHP.
Discuss in detail about Foreach loop.
