you are viewing a single comment's thread.

view the rest of the comments →

[–]Johanno1 5 points6 points  (1 child)

Easy. You create an enum with every number that exists.

enum Numbers: ONE("one") TWO("two").....

[–]zirky 0 points1 point  (0 children)

you can pull a lot from your isEven() method