Soda Pop
Coding Challenge Description
- Choose and enter an ending number and the app will generate a range of numbers starting with 1 up to the your given number will be tested for divisibility by '3' and '5'.
- The numbers are divisible by ‘3’ they will be replaced by the word “Soda”
- The numbers divisible by ‘5’ will be replaced by the word “Pop”
- The numbers that are divisible by both ‘3’ and ‘5’ will be replaced by the phrase “Soda Pop”
- Then the app uses the remaining numbers up to the user's chosen ending number to determine which ones are even and which ones are odd displaying the even numbers in black and the odd numbers along with the 'Soda Pop' words in purple