This application prompts the user to enter a number. It'll then see if the number is divisible by 3, 5, and 15. The application will then display a result depending on the numbers divisibility. 5 May, 2017
Behavior | Input | Output |
---|---|---|
Numbers divisible by 3 will display "ping" | 3 | ping |
Numbers divisible by 5 will display "pong" | 5 | pong |
Numbers divisible by 15 will display "pingpong" | 45 | pingpong |
All other numbers will displayed as is | 7 | 7 |
Negative numbers and letters not recognized | b | NaN |
- Open Terminal/CDM
- git clone https://github.com/michaelkoceja/ping-pong
- Enter a number into submit field and click button.
There are currently no known bugs.
If there are any questions my email is, [email protected]
HTML CSS Bootstrap Jquery-3
MIT
Copyright (c) 2016 Michael Koceja