----------------------
------------------------ Click Here to generate an random string ------------------------
------------------------- <-- Assgn 33 --> "; } */ //pattern 2 // 12345 // 1234 // 123 // 12 // 1 /* for($i=1;$i<=$n;$i++) { //number of lines for($j=1;$j<=$s;$j++) { //number of stars in each line echo $j; } echo "
"; $s--; } */ // pattern 3 // 1 // 1 2 // 1 2 3 // 1 2 3 4 // 1 2 3 4 5 for($i=1;$i<=$n;$i++) { for($k=0;$k<=$s;$k++) { echo " "; } for($j=1;$j<=$i;$j++) { echo $j; } $s--; echo "
"; } //pattern 4 /* for($i=1;$i<=$n;$i++) { for($k=1;$k<=$i;$k++) { echo " "; } for($j=1;$j<=$s;$j++) { echo $j; } $s--; echo "
"; } */ ?> ----------------- For more Information on Web Technologies / Oracle Databases / Android Programming , you can whatsApp with Rocky Sir @ 9892544177 -----------------