For this Question: Write a program to find the minimum number of coins/ notes required to make the change of A amount of money. 
For this problem, you can assume that there is an unlimited supply of the various notes/coins available in the Indian currency denominations. The various denominations available are 1, 2, 5, 10, 20, 50, 100, 200, 500 and 2000.<b>User Task:</b>
Since this will be a functional problem, you don't have to worry about input. You just have to complete the function <b>minimumCoins()</b> which takes the target amount as a parameter.

Constraints:
1 <= Target < = 100000Return the minimum number of coins required.Sample Input:-
90

Sample Output:-
3

Explanation:-
50 + 20 + 20 = 90

Sample Input:-
2058

Sample Output:-
5

Explanation:-
2000 + 50 + 5 + 2 + 1, I have written this Solution Code: 	static int minimumCoins(int Target){
	    int ans=0;
int a[] = {1, 2, 5, 10, 20, 50, 100, 200, 500 , 2000};
for(int i=9;i>=0;i--){

    ans+=Target/a[i];
    Target=Target%a[i];
}
return ans;
	}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?