Chapter
Summation
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How can a for loop compute a generalized summation in PHP?
"Let’s revisit the example from Section 4.2.1 in which we computed the sum of integers 1 + 2 + · · · + 10. The code is presented in Code Sample 39.6 We could easily generalize this code. Instead of co