Java Problems 13 and 20