I created another PHP Code to dsiplay a pyramid out of numbers. This program uses two (2) looping statement. In my example, I did used the while and for loop to accomplished this. On my previous article, the output of the pyramid is different. This one, its an upside down triangle.
Home /
Loop /
PHP /
Pyramid /
While Loop /
PYRAMID IN PHP: Form an Upside Down Pyramid Using Numbers in PHP
Friday, January 29, 2016
PYRAMID IN PHP: Form an Upside Down Pyramid Using Numbers in PHP
Related Articles :
FOR LOOP IN PHP: Display Numbers Using For LoopPHP for loop is used to repeat execution of statement until a certain condition is true. First thing to do in the for loop is to ...
AREA OF ISOSCELES TRIANGLE: Solve for the Area of An Isosceles Triangle in PHPAn isosceles triangle is a triangle with two (2) equal sides. To be able to solve for the area of an isosceles triangle, you need to u ...
PHP INSERT INTO: Add New Record Into A DatabaseData is essential in an organization. So storing it in a database helps an organization to easily store it so they can retrieve it in ...
JAVA LOOP: Display Numbers in Fibonacci Series CodeFibonacci series is achieved by adding the first and second value to solve for the third number. And then the 2nd and third to solve f ...
JAVA ODD OR EVEN: Display Numbers in a Loop and Identify if Odd or EvenThis example uses Java looping statement specifically the while loop but you can also use the different looping statements. ...
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment