Ping-Pong
Author: Domani Samuel
Project Name: Ping-Pong
- Numbers divisible by 3 are replaced with "ping"
- Numbers divisible by 5 are replaced with "pong"
- Numbers divisible by 15 are replaced with "pingpong"
if you use the number 15 the output will be as follows:
1
2
ping
4
pong
ping
7
8
ping
pong
11
ping
13
14
pingpong
Link to deployed page (click here) Ping-Pong
this application's source code is free for any open source projects
© domanisamuel | Credits MORINGA SCHOOL