php program to print increasing triangle
php program to print increasing triangle
php program to print increasing triangle
Example :-
<?php
for($i=0;$i<=5;$i++){
for($j=1;$j<=$i;$j++){
echo "*";
}
echo '<br>';
}
?>
php program to print increasing triangle
Output:-
php program to print increasing triangle
Example :-
<?php
for($i=0;$i<=5;$i++){
for($j=1;$j<=$i;$j++){
echo "A";
}
echo '<br>';
}
?>
php program to print increasing triangle
Output:-
Post a Comment