Java Practice problem

welcome to shbcf.ru