c-to-java code of a make change program