3. WCS111 FM. Suppose you work at WCS111 FM, a radio station by computer scientists for...
3. WCS111 FM. Suppose you work at WCS111 FM, a radio station by computer scientists for computer scientists. The station runs a contest where listeners win prizes based on how many hours they spend programming in Java. When a listener calls in to the radio station, the listener will state how many hours (whole number) a month he/she spends programming in Java. Based on the number of hours spent programming, display the listener prize according to the following rules: 1. Listeners who do not program do not win any prize (in other words, those who program for hours per month) do not win any prizes 2. Hobbyist programmers (1 - 5 hours) win a T-shirt 3. Regular programmers (6 - 400 hours) win all of the following for which they quality! a. a laptop if their hours happen to end in 9 (09.19.29. 200), b. a hat if their hours are an even number c. a TV if their hours are divisible by 3. 4. Elite programmers (400 hours) will win a cat. 4. Lucky Sevens. Given a whole number, compute and display how many digits in the number are 7s For example, the number of 7 in 3482 is , while the number of 7s in 3727713 Note: whole numbers are non-negative Integers starting at zero (0.1.2.3, 4)