This program is designed to receive a number input from the user and return a range of numbers from 0 to the chosen number. Within that range, any numbers containing a 0 are replaced with "beep!", containing a 1 are replaced with "boop!", and divisible by 3 are replaced with "I'm sorry, Dave. I'm afraid I can't do that."
- Open terminal (or git bash)
- type $git clone http://github.com/bkiggen/beepboop
- open beepboop directory
- open index.html in your chosen web browser
-
The program alerts user if any non-numerical value is entered.
- Example Input: HAL
- Example Output: "Please enter a number!"
-
The program returns a string of numbers (leading up to specified number) to the user.
- Example Input: 6
- Example Output: 1, 2, 3, 4, 5, 6
-
The program replaces 0 with "Beep!"
- Example Input: 0
- Example Output: "Beep!"
-
The program replaces 1 with "Boop!"
- Example Input: 1
- Example Output: "Beep!" "Boop!"
-
The program replaces numbers divisible by 3 with "I'm sorry, Dave. I'm afraid I can't do that."
- Example Input: 3
- Example Output: "Beep!" "Boop!" "I'm sorry, Dave. I'm afraid I can't do that."
For inquiries, issues, or contributions, please contact Ben Kiggen at benkiggen@gmail.com
This software was created using HTML, CSS, javascript, and jQuery
MIT license
Copyright (c) 2018 Ben Kiggen, Epicodus