0
How we can create triangle using " *" in php ??
any one can post code here ??
2 Answers
+ 5
<?php
for($i=1;$i<6;$i++){
for($j=0;$j<$i;$j++){
echo "* ";
}
echo "<br>";
}
?>
0
ranjan i need a triangle whose three sides are equal ie all sides of 60 angle