Exercise on Best Practices in Programming
- Programming logic
- Drupal coding standards
Write a PHP program which iterates the integers from 1 to 50. For multiples of three print "Three" instead of the number and for the multiples of five print "Five". For numbers which are multiples of both three and five print "ThreeFive".
Follow Drupal coding standard.