/ping-pong

Moringa School (Ping-Pong)

Primary LanguageHTML

ping-pong

Ping-Pong

Author: Domani Samuel


Project Name: Ping-Pong


Specifications

  • Numbers divisible by 3 are replaced with "ping"
  • Numbers divisible by 5 are replaced with "pong"
  • Numbers divisible by 15 are replaced with "pingpong"

Example

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


licenses and terms of use

this application's source code is free for any open source projects


© domanisamuel | Credits MORINGA SCHOOL