java code wrong?
<p>but this time again when i type firsh "r" it says </p>

<p>Can u See r In The List ?
D : Dolar   E : Euro   T : Turkish Lira </p>

<p>again when i type d </p>

<p>Can u See d In The List ?
D : Dolar   E : Euro   T : Turkish Lira</p>

<p>:) please help me </p>

<pre><code>case 4:

        System.out.println("Which Currency Do u Want ur Money Honey ?\n" + menucur);
        String currency = sc.next();
        char detect = currency.charAt(0);

        switch (detect){
        case 'D':
        case 'd':
            double dollar = (amount/18*10);
            System.out.println(amount + " Turkish Lira(s) --&gt; " + dollar + " Dollar");
            break;
        case 'E':
        case 'e':
            double euro = (amount/23*10);
            System.out.println(amount + " --&gt; " + euro + " Euro");
            break;
        case 'T':
        case 't':
            double lira = (amount);
            System.out.println(amount + " --&gt; " + lira+ " Lira(s)");
            break;

        default: 

            while (detect!='d'|| detect!='e' || detect!='t' || detect!='D'|| detect!='E' || detect!='T'){ 
                System.out.println("Can u See " + detect + " In The List ?\n" + menucur);
                currency = sc.next();
                detect = currency.charAt(0); }

        }
        break;
</code></pre>
