Program Java, który informuje, jakie monety rozdawać za każdą zmianę od 1 centa do 99 centów

Muszę napisać program Java, który mówi, jakie monety rozdawać za każdą zmianę od 1 centa do 99 centów. Na przykład, jeśli kwota wynosi 86 centów, wyjście będzie wyglądało następująco:

86 centów można podać jako 3 ćwiartki, 1 cent i 1 cent.

Używaj nominałów monet 25, 10, 5 i 1. Twój program użyje następującej metody (między innymi):

public static int computeCoin(int coinValue,);
// Precondition: 0 < coinValue < 100; 
// Postcondition: returned value has been set equal to the maximum 
//number of coins of the denomination coinValue cents that can be 
//obtained from amount (a different variable) cents. amount has been 
//decreased by the value of the coins, that is, decreased by     
//returnedValue*coinValue.

Jak dotąd to jest to, co mam, ale myślę, że brakuje mi więcej, czy ktoś może mi dać rękę? Nie jestem też skłonny używać podwójnych zamiast int.

public class Assignment6{
   public static void main(String [] args){
   amount = (int)(Double.parseDouble(args[0])*100);

   System.out.println("Five: " + computeCoin(500));
   System.out.println("one: " + computeCoin(100) );
   System.out.println("Q : " + computeCoin(25) );
   System.out.println("D : " + computeCoin(10) );
   System.out.println("N : " + computeCoin(5) );
   System.out.println("P : " + computeCoin(1) );
}

questionAnswers(3)

yourAnswerToTheQuestion