Java: Currency symbol based on ISO 4217 currency cod
<p>Below program prints the Currency symbol given the ISO 4217 currency code.</p>

<pre><code>import java.util.*;

public class Currency{

    public static void main(String args[]) {
        Currency myInstance = Currency.getInstance(args[0]);
        System.out.println(myInstance.getSymbol());
    }
}
</code></pre>

<p><strong>Problem</strong>: Works fine when the string USD is input. For other inputs like EUR just return the Currency Code. </p>

<p>Sample input , ouput from the program:</p>

<pre><code>input: java Currency USD 
output: $
input: java Currency EUR
output: EUR -&gt; I expect the symbol of Euro here
</code></pre>
