Question: Write a PHP program in a file named Tringle.php that will draw a triangle with n rows and leading spaces When Sn 3, the output

 Write a PHP program in a file named Tringle.php that will

Write a PHP program in a file named Tringle.php that will draw a triangle with n rows and leading spaces When Sn 3, the output would be 000) o0000 When Sn-8, the output would be oo000 oo00000 o00000000 oo000000000 o000000000000 The bottom row must have 2*$n 1 columns

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!