Assignment: #ExtremelyOddNumbers |
Due: 01/28/2017 |
Points: 5 |

This Java application checks whole numbers in the interval [101, 100001] to see if they are "extremely odd" and "super extremely odd" numbers.

A whole number is "extremely odd" if...

(0) it's an odd number (1) it has an odd number of digits (2) all of its digits are odd numbers (3) the sum of its digits is an odd number (4) the product of its digits is an odd numberA "super extremely odd" number is an extremely odd number such that...

(5) all digits comprising the sum of its digits are odd numbers (6) all digits comprising the product of its digits are odd numbersLoop prompting the user to enter positive whole numbers. Looping ends when a -1 is entered. For each number entered, check to see if its extremely odd (or super extremely odd).

The following inputs 143, 151, 479, 3519, 11133, 59979, 77129, 95311 and 99999 should result in output that matches the following.

143 is *not* extremely odd 151 is super extremely odd 479 is *not* extremely odd 3519 is *not* extremely odd 11133 is super extremely odd 59979 is extremely odd 77129 is *not* extremely odd 95311 is super extremely odd 99999 is extremely odd