/ping-pong

site that uses loops and arrays in the js file to manipulate string output

Primary LanguageHTML

Ping Pong

Ping Pong Site 08-19-2016

By Caleb Paul

Description

Program will output numbers from one up to a user given interval in an inordered list Numbers divisible by 3 are replaced with "ping" Numbers divisible by 5 are replaced with "pong" Numbers divisible by 15 are replaced with "ping-pong"

Setup/Installation Requirements

Known Bugs

None known

##Specifications

Behavior this program should handle Input Example Output Example
A single number 2 1 2 (program should count up from one to 2, with each number in an unordered list)
number(s) in list that are divisible by 3 3 1 2 ping
number(s) in list that are divisible by 5 1 2 3 4 5 1 2 ping 4 pong
number(s) in list that are divisible by 15 ..13 14 15 13 14 ping-pong
a new number entered 3 1 2 ping (program should clear original list, and display new list based on most recent input)

Support and contact details

Caleb Paul: calebpaul21@gmail.com

Technologies Used

Javascript jQuery

License

This webpage is licensed under the GPL license.

Copyright (c) 2016 Caleb Paul