java java java object-oriented problem solving got a problem solve it using ratios to solve problems assigned homework Menu