PHP - Questions
111.
Write a program to print the following triangle?
1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5
1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5
124. Write a program to compute the exponential series.
1 + x + x^2/2! + x^3/3! + x^4/4! + ……… x^n/n!
1 + x + x^2/2! + x^3/3! + x^4/4! + ……… x^n/n!