Program of while loop
<?php
$a = 5;
while ($a >= -3){
echo"the no is in decreasing order: $a <br>";
$a--;
}
$y = 1;
do {
echo"my name is anju : $y <br>";
$y++;
}
while ($y < 10);
?>
<?php
$a = 5;
while ($a >= -3){
echo"the no is in decreasing order: $a <br>";
$a--;
}
$y = 1;
do {
echo"my name is anju : $y <br>";
$y++;
}
while ($y < 10);
?>
No comments:
Post a Comment