Tuesday, April 19, 2011

Multiplication Table in Drought Season

The challenge is to add code statements in a given function named “renderMultiplicationTable” which has a single parameter “$dimension” and create a Multiplication Table without the use of any looping statements (e.g. for, while, do…while, and foreach).

Sample Code:


Sample Output:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...