I need assistance writing a program that contains an array, if/else statement, while loop, a try catch statement, and must create an object.

A suggestion, or template would be greatly appreciated!
The program needs to be something that is pretty basic, and that beginners could understand and write.
No hangman please! haha