I am having trouble with if/else statement using JOptionPane?
<p>The question is:</p>

<blockquote>
  <p>Q.Write a program using dialog boxes that prompts the user to make a choice for a pizza 
  size  –  S,  M,  L,  or  X  –  and  then  displays  the  price  as  $6.99,  $8.99,  $12.50,  or  $15.00 accordingly. Save the program as PizzaChoice.java. </p>
</blockquote>

<p>This question I need to do with the if/else statement, using dialog boxes, by JOptionPane.</p>

<pre><code>public class PizzaChoice {

    public static void main(String[] args) {
    String choice;
    String small;      
    String medium;
    String extraLarge;

    choice= JOptionPane.showInputDialog("Enter yur choice of pizza :"+" S, M, L, X");
    double s,S;
    //double s2= Double.parseDouble(small);

    if(s==S ){
        System.out.println("$6.99"+s);
    }

    }
}
</code></pre>

<p>I can't get further than this. I tried many different ways, but still cannot code well.</p>
