Ping Pong

Ping Pong

This site demonstrates arrays and loops. The objective was to allow the user to input a number and that number would be displayed from 1 to that number. Then along the way if the numbers were divisible by 3, 5, or 15 it displays the words ping, pong or ping-pong instead of that value.