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 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
Get step-by-step solutions from verified subject matter experts
