a simple java application that takes user input, utilizes simple control structures and prints output