php program to print left half pyramid star pattern on May 31, 2024 Get link Facebook X Pinterest Email Other Apps php program to print left half pyramid php program to print left half pyramid Example :-<?phpfor($i=1;$i<=5;$i++){for($j=4;$j>=$i;$j--){ echo " ";}for($k=1;$k<=$i;$k++){ echo '*'; //change only value of the //echo' *'; //for example :- 1,s,q,h,a,A....etc}echo '<br>';}?>php program to print left half pyramid Output:- Related Post :-html table taghtml id Attributecss column gap property Comments
Comments
Post a Comment