Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function inputtedNumber(num) {
- if (num % 3 == 0) {
- return "Sorry";
- }
- else if (num.includes(0)=== true) {
- return " BEEP ";
- }
- else if (num.includes(1)=== true) {
- return " Boop ";
- }
- else {
- return " ERROR!!! ";
- }
- }
Add Comment
Please, Sign In to add comment